summaryrefslogtreecommitdiff
path: root/data/templates/sla/twamp-override.conf.j2
blob: 34bbd228bc010ce05054f4900672b19c7d5077b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description==TWAMP server
After=vyos-router.service
# Only start if there is a configuration file
ConditionFileNotEmpty=/etc/twamp-server/twamp-server.conf

[Service]
KillMode=process
Type=simple
ExecStart=/usr/sbin/twampd -c /etc/twamp-server -R /var/run
ExecReload=/bin/kill -HUP $MAINPID
PIDFile=/run/twamp-server.pid
LimitNOFILE=4096

[Install]
WantedBy=multi-user.target