summaryrefslogtreecommitdiff
path: root/src/etc/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'src/etc/systemd')
-rw-r--r--src/etc/systemd/system/conserver-server.service.d/override.conf3
1 files changed, 2 insertions, 1 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
index 5301b38ce..828d0bc4b 100644
--- a/src/etc/systemd/system/conserver-server.service.d/override.conf
+++ b/src/etc/systemd/system/conserver-server.service.d/override.conf
@@ -1,9 +1,10 @@
[Unit]
After=
After=vyos-router.service
+ConditionPathExists=/run/conserver/conserver.cf
[Service]
Type=simple
ExecStart=
ExecStart=/usr/sbin/conserver -C /run/conserver/conserver.cf
-
+Restart=on-failure