summarylogtreecommitdiffstats
path: root/agate@.service
blob: 54e17e781da4f9f6864e84be069c2ab71e1d66d4 (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 = journal
StandardError = journal
SyslogIdentifier = gemini

[Install]
WantedBy = multi-user.target