mirror of
https://github.com/byReqz/probehost2.git
synced 2024-11-23 07:04:55 +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
|
StartLimitIntervalSec=20
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
User=1000
|
||||||
|
Group=1000
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=1
|
RestartSec=1
|
||||||
ExecStart=/bin/probehost2 --logfilepath "/var/log/probehost2.log" --port 8000
|
ExecStart=/bin/probehost2 --logfilepath "/var/log/probehost2.log" --port 8000
|
||||||
|
Loading…
Reference in New Issue
Block a user