summarylogtreecommitdiffstats
path: root/scion-dispatcher.service
blob: a99e578d8b397cf3a99590066a3526d8029094a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[Unit]
Description=SCION Dispatcher
Documentation=https://www.scionlab.org
After=network-online.target
Wants=network-online.target
PartOf=scionlab.target

[Service]
Type=simple
User=scion
Group=scion
ExecStartPre=/bin/rm -rf /dev/shm/dispatcher/
ExecStart=/usr/bin/scion-dispatcher --config /etc/scion/dispatcher.toml
RemainAfterExit=False
LimitNOFILE=4096
KillMode=control-group
Restart=on-failure
RestartSec=10

[Install]
WantedBy=scionlab.target