mirror of https://github.com/omar-polo/gmid.git
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:
parent
5d12e6a104
commit
c2dcb5fa6e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue