mirror of
https://github.com/omar-polo/gmid.git
synced 2024-10-05 16:56:55 +02:00
359c56ce35
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!
20 lines
435 B
Desktop File
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
|