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>
|
||||
WorkingDirectory=<directory>
|
||||
Restart=always
|
||||
User=root
|
||||
User=root (use a non root user for better security)
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
Reference in New Issue
Block a user