Adds systemd guide to run a bun application as a daemon#6451
Adds systemd guide to run a bun application as a daemon#6451colinhacks merged 7 commits intooven-sh:mainfrom
Conversation
|
@RaresAil One quick change I would suggest is, you have "User=root" in your systemd file, when going by your guide you likely want that to be the value of YOUR_USER, as it doesn't need to run as root. So it's best to avoid a possible security situation, especially since you have both bun and the application installed in /home/YOUR_USER following your guide. |
|
You are right, I will modify that, in copy pasted from my current case because i run the app as root cause i was lazy to give permission to my user to can run the app on port 443 😂 |
|
@zjhendryx i added that and explain how to allow the non-root user to use the privileged ports |
|
Made some fairly heavy edits. I don't think there's much value in re-iterating systemd documentation here—better to provide a minimal guide that is easy to modify and follow. |
26a206a to
73a4f21
Compare
73a4f21 to
a627076
Compare
|
Thanks @RaresAil, this was excellent! |
Small suggestions, |
What does this PR do?
Adds a guide for using
systemdto run a bun application as a daemon