mirror of
https://github.com/byReqz/probehost2.git
synced 2024-11-14 03:13:14 +00:00
add user and group to systemd service example
This commit is contained in:
parent
deab05167d
commit
5c8a39ad75
@ -8,6 +8,8 @@ StartLimitBurst=5
|
||||
StartLimitIntervalSec=20
|
||||
|
||||
[Service]
|
||||
User=1000
|
||||
Group=1000
|
||||
Restart=always
|
||||
RestartSec=1
|
||||
ExecStart=/bin/probehost2 --logfilepath "/var/log/probehost2.log" --port 8000
|
||||
|
Loading…
Reference in New Issue
Block a user