Skip to content
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

Use a systemd service instead of nohup in advanced deployment documentation #109

Closed
willuhmjs opened this issue May 10, 2023 · 7 comments
Closed
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@willuhmjs
Copy link

I suggest making a script that generates a systemd service to run the proxy automatically on startup. This is the more common approach to having a Node server run 24/7.

This issue deals with this page

@ProgrammerIn-wonderland
Copy link
Collaborator

SystemD would make the system require... Well systemD, recently I was thinking about changing the guide to use PM2 instead though which would accomplish the same thing

@ProgrammerIn-wonderland
Copy link
Collaborator

Admittedly, using nohup was a quick solution to make it work on my system which at the time was running OpenRC Gentoo, (systemD less) and I didn't know how to make OpenRC services yet

@willuhmjs
Copy link
Author

Whichever works on the most systems. Feel free to change the title of this issue to "use PM2" for tracking purposes.

@GreenyDEV GreenyDEV changed the title Use a systemd service instead of nohup Use a systemd service instead of nohup in advanced deployment documentation May 10, 2023
@GreenyDEV GreenyDEV added documentation Improvements or additions to documentation enhancement New feature or request labels May 15, 2023
@CountBleck
Copy link
Contributor

I don't see why both/all options can be provided.

For ease of use, pm2 (as much as I personally would like to avoid it) is the best choice for the majority reading that docs page. pm2 supports starting itself on boot through an enabled systemd service. Power users can always write their own systemd service with ease.

By the way, "systemd", not "systemD".

@ProgrammerIn-wonderland
Copy link
Collaborator

Pedantic as ever blu

@GreenyDEV
Copy link
Collaborator

LOL true, true.

@rifting
Copy link
Member

rifting commented Dec 29, 2023

Closed as stale

@rifting rifting closed this as completed Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants