forked from Fascinated/docs
add non root user info to systemd service exaample
This commit is contained in:
parent
308d15362b
commit
a439c5bf26
@ -38,7 +38,7 @@ Description=<name>
|
|||||||
ExecStart=<command>
|
ExecStart=<command>
|
||||||
WorkingDirectory=<directory>
|
WorkingDirectory=<directory>
|
||||||
Restart=always
|
Restart=always
|
||||||
User=root
|
User=root (use a non root user for better security)
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
Reference in New Issue
Block a user