summarylogtreecommitdiffstats
path: root/agate@.service
blob: 222d9b36327571eeb516f3adb9b0bf96baa10e8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[Unit]
Description=Very simple server for the Gemini hypertext protocol.
Wants=network-online.target
After=network-online.target

[Service]
Type=simple
User=agate
EnvironmentFile=/etc/agate/%i
ExecStart=/usr/bin/agate $CONTENT $CERT $ADDR $HOSTNAME $LANG $OTHERS

Restart=always
RestartSec=1

StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=gemini

[Install]
WantedBy=multi-user.target