gmid/contrib/gmid.service
Omar Polo 359c56ce35 contrib/gmid.service: remove User and Group
May cause weird errors (status=216/GROUP) on some distros, and
running as root is already the default, so remove the two lines.
Reported by and debugged together with leandro del Flug, thanks!
2024-04-27 17:12:09 +00:00

20 lines
435 B
Desktop File

[Unit]
Description=The gmid Gemini server
Documentation=https://gmid.omarpolo.com/
After=network-online.target syslog.target
Wants=network-online.target
[Service]
Type=simple
ExecStart=/usr/local/bin/gmid -f -c /etc/gmid.conf
ExecStop=/bin/kill -TERM $MAINPID
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
RestartSec=30
StandardOutput=journal
StandardError=inherit
SyslogIdentifier=gmid
[Install]
WantedBy=multi-user.target