summarylogtreecommitdiffstats
path: root/vouch-proxy.service
blob: f7cb3b20b3fa884c28e965b5e3904b768e3e4b34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Unit]
Description=Vouch Proxy
After=network.target

[Service]
Type=exec
DynamicUser=yes
RuntimeDirectory=vouch-proxy
StateDirectory=vouch-proxy
Environment=VOUCH_ROOT=/var/lib/vouch-proxy
ExecStartPre=mkdir -p ${VOUCH_ROOT}/config
ExecStart=/usr/bin/vouch-proxy -config /etc/vouch-proxy/config.yaml
Restart=on-failure
RestartSec=5
StartLimitInterval=60s
StartLimitBurst=3

[Install]
WantedBy=multi-user.target