add user and group to systemd service example

This commit is contained in:
Nils 2022-08-23 03:31:56 +02:00
parent deab05167d
commit 5c8a39ad75
Signed by: byreqz
GPG Key ID: 396A62D7D436749E
1 changed files with 2 additions and 0 deletions

View File

@ -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