summaryrefslogtreecommitdiff
path: root/data/templates/pmacct/override.conf.tmpl
blob: 216927666746f6348b6757dbd7847561dc850eed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{% set vrf_command = 'ip vrf exec ' + vrf + ' ' if vrf is defined else '' %}
[Unit]
After=
After=vyos-router.service
ConditionPathExists=
ConditionPathExists=/run/pmacct/uacctd.conf

[Service]
EnvironmentFile=
ExecStart=
ExecStart={{vrf_command}}/usr/sbin/uacctd -f /run/pmacct/uacctd.conf
WorkingDirectory=
WorkingDirectory=/run/pmacct
PIDFile=
PIDFile=/run/pmacct/uacctd.pid
Restart=always
RestartSec=10