Closed QuadeHale closed 3 years ago
Thanks. I will think it over.
I am still leaning to leaving it as is because not a lot of user know how to use Linux. For the Linux masters... I can understand the view but do you think this is best so user created account can executed the services without root?
Thoughts?
Going to close. If there is a strong stance to set this differently, then I am all for it but I feel this is opinionated (nothing wrong with that btw).
You've got it backwards. Only root level service files should go in /etc/systemd/system. User level (general) service files should go in /lib/systemd/system.
Files in /etc/ with the same name override ones in /lib/. When making a new one, always put it in /lib/.
Only the location changes, permissions don't.
On Sat., Feb. 13, 2021, 09:50 Zerobandwidth, notifications@github.com wrote:
I am still leaning to leaving it as is because not a lot of user know how to use Linux. For the Linux masters... I can understand the view but do you think this is best so user created account can executed the services without root?
Thoughts?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Nimdy/Dedicated_Valheim_Server_Script/issues/7#issuecomment-778629590, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC7355KYGENE7WCQMGYGITTS62GT7ANCNFSM4XRQZSEA .
Thanks QuadeHale... I will switch them around. :) Sometimes we forget some basics :P
/etc/systemd/system
is the location for root-level systemd scripts. Your service file should live in/lib/systemd/system
instead.