blob: b5ec161d470cfb48b9a5b8d18dffeac36325ee8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
[Unit]
Description==OWAMP server
After=vyos-router.service
# Only start if there is a configuration file
ConditionFileNotEmpty=/etc/owamp-server/owamp-server.conf
[Service]
KillMode=process
Type=simple
ExecStart=/usr/sbin/owampd -c /etc/owamp-server -R /var/run
ExecReload=/bin/kill -HUP $MAINPID
PIDFile=/run/owamp-server.pid
LimitNOFILE=4096
[Install]
WantedBy=multi-user.target
|