summaryrefslogtreecommitdiff
path: root/src/systemd/vyconfd.service
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2024-10-24 10:50:34 -0500
committerJohn Estabrook <jestabro@vyos.io>2024-12-10 14:01:22 -0600
commit184e24b7f0a2ead380703f98822b3fb2d35bef28 (patch)
tree8c66506db6479b9be306698cbd00cbd63998a6a0 /src/systemd/vyconfd.service
parentbab186b493145ee42453196e8ef4670afc71f6f1 (diff)
downloadvyos-1x-184e24b7f0a2ead380703f98822b3fb2d35bef28.tar.gz
vyos-1x-184e24b7f0a2ead380703f98822b3fb2d35bef28.zip
vyconf: T6718: start vyconfd from vyos-router
Start vyconfd after migration.
Diffstat (limited to 'src/systemd/vyconfd.service')
-rw-r--r--src/systemd/vyconfd.service21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/systemd/vyconfd.service b/src/systemd/vyconfd.service
new file mode 100644
index 000000000..b20e831ab
--- /dev/null
+++ b/src/systemd/vyconfd.service
@@ -0,0 +1,21 @@
+[Unit]
+Description=VyOS vyconf daemon
+
+# Without this option, lots of default dependencies are added,
+# among them network.target, which creates a dependency cycle
+DefaultDependencies=no
+
+After=systemd-remount-fs.service
+
+[Service]
+ExecStart=/usr/libexec/vyos/vyconf/vyconfd
+Type=exec
+SyslogIdentifier=vyconfd
+SyslogFacility=daemon
+Restart=on-failure
+
+User=root
+Group=vyattacfg
+
+[Install]
+WantedBy=vyos.target