From 5c8a39ad755804453fcb6c32cdf31e020818757a Mon Sep 17 00:00:00 2001 From: Nils Date: Tue, 23 Aug 2022 03:31:56 +0200 Subject: [PATCH] add user and group to systemd service example --- systemd/probehost2.service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/systemd/probehost2.service b/systemd/probehost2.service index ca0dc49..1919ecb 100644 --- a/systemd/probehost2.service +++ b/systemd/probehost2.service @@ -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