summaryrefslogtreecommitdiff
path: root/src/etc/systemd/system/conserver-server.service.d/override.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/etc/systemd/system/conserver-server.service.d/override.conf')
-rw-r--r--src/etc/systemd/system/conserver-server.service.d/override.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/etc/systemd/system/conserver-server.service.d/override.conf b/src/etc/systemd/system/conserver-server.service.d/override.conf
new file mode 100644
index 000000000..3c753f572
--- /dev/null
+++ b/src/etc/systemd/system/conserver-server.service.d/override.conf
@@ -0,0 +1,10 @@
+[Unit]
+After=
+After=vyos-router.service
+ConditionPathExists=/run/conserver/conserver.cf
+
+[Service]
+Type=simple
+ExecStart=
+ExecStart=/usr/sbin/conserver -M localhost -C /run/conserver/conserver.cf
+Restart=on-failure