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.
This commit is contained in:
Omar Polo 2024-04-27 16:17:37 +00:00
parent 5d12e6a104
commit c2dcb5fa6e
1 changed files with 1 additions and 1 deletions

View File

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