summaryrefslogtreecommitdiff
path: root/data/templates/pmacct/override.conf.tmpl
blob: 213569ddc18c8e3ae51ca491ebfc8f988753e3fd (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 vyos_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