summaryrefslogtreecommitdiff
path: root/src/etc
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-12-26 10:01:22 +0100
committerChristian Poessinger <christian@poessinger.com>2021-12-26 10:01:32 +0100
commitde28cb2036af6e7786ff54f1732d3a33439442e8 (patch)
treef4da920b3bfdc7ba37c37c4174fd66644476d406 /src/etc
parent3854031667c397412d04697509f02b097e401e9a (diff)
downloadvyos-1x-de28cb2036af6e7786ff54f1732d3a33439442e8.tar.gz
vyos-1x-de28cb2036af6e7786ff54f1732d3a33439442e8.zip
flow-accounting: T4097: move configuration file to /run
Diffstat (limited to 'src/etc')
-rw-r--r--src/etc/systemd/system/uacctd.service.d/override.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/etc/systemd/system/uacctd.service.d/override.conf b/src/etc/systemd/system/uacctd.service.d/override.conf
new file mode 100644
index 000000000..38bcce515
--- /dev/null
+++ b/src/etc/systemd/system/uacctd.service.d/override.conf
@@ -0,0 +1,14 @@
+[Unit]
+After=
+After=vyos-router.service
+ConditionPathExists=
+ConditionPathExists=/run/pmacct/uacctd.conf
+
+[Service]
+EnvironmentFile=
+ExecStart=
+ExecStart=/usr/sbin/uacctd -f /run/pmacct/uacctd.conf
+WorkingDirectory=
+WorkingDirectory=/run/pmacct
+PIDFile=
+PIDFile=/run/pmacct/uacctd.pid