aboutsummaryrefslogtreecommitdiff
path: root/contrib/gmid.service
blob: 3090f38922fbd70adce47469c361d69764a00f7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[Unit]
Description=The gmid Gemini server
Documentation=https://gmid.omarpolo.com/
After=network-online.target syslog.target 
Wants=network-online.target

[Service]
Type=simple
User=gmid
Group=nobody
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