aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2024-04-27 16:17:37 +0000
committerOmar Polo <op@omarpolo.com>2024-04-27 16:17:37 +0000
commitc2dcb5fa6ea5ca08f1f40ddcb07211a11450d648 (patch)
treea1a13bcc91f172eb9786fdf9937cf1b26afc83bd /contrib
parent5d12e6a1047b1ddafb01fd3014fbb6c97d06b0a4 (diff)
contrib/gmid.service: start as root by default
Various techniques used by gmid are effective only when the daemon is started as root. Strongly suggest to do so by switching the sample configuration. This way, provided that a local user is created as well, the chroot configuration will work out-of-the-box and the TLS certificates can be readable only by root.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/gmid.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gmid.service b/contrib/gmid.service
index 3090f38..c7f9c30 100644
--- a/contrib/gmid.service
+++ b/contrib/gmid.service
@@ -6,7 +6,7 @@ Wants=network-online.target
[Service]
Type=simple
-User=gmid
+User=root
Group=nobody
ExecStart=/usr/local/bin/gmid -f -c /etc/gmid.conf
ExecStop=/bin/kill -TERM $MAINPID