mirror of
https://github.com/byReqz/probehost2.git
synced 2025-07-28 22:02:41 +00:00
add user and group to systemd service example
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user