summaryrefslogtreecommitdiff
path: root/src/etc/systemd/system/conserver-server.service.d/override.conf
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-19 16:12:27 +0200
committerChristian Poessinger <christian@poessinger.com>2020-06-19 16:12:27 +0200
commit587416ef606827c5cbf6ac49834fc65283794fbb (patch)
treeeb600ee73115f881e2e332002d13f3727391cf48 /src/etc/systemd/system/conserver-server.service.d/override.conf
parenta9daaa8409347ad9e51d75f76f5985b8e9f2e365 (diff)
downloadvyos-1x-587416ef606827c5cbf6ac49834fc65283794fbb.tar.gz
vyos-1x-587416ef606827c5cbf6ac49834fc65283794fbb.zip
console-server: T2490: add SSH support for direct device access
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.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