-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
README request #389
Comments
I'm sorry. I don't use systemd to start services, and I'm not an expert in operations : ( |
hmm. Ok, if i figure it out ill post it here. Thank you for being honest. |
Thank you so much! |
Here's a systemd setup in case it's useful. It is best practice to not run services as root where possible. If you want to ignore that, remove the User and Group lines from the service file. Otherwise, start with creating a locked down user to run the service as:
The last two lines assume you cloned the project to /opt/nostr-relay-nestjs Copy and paste the below to /etc/systemd/system/nostr-relay-nestjs.service
Run So far working fine for me :) |
This looks good! Would you like to create a PR for this? |
Could you put a systemd service file example somewhere?
Thank you.
The text was updated successfully, but these errors were encountered: