diff options
author | Eshenko Dmitriy <dmitriy.eshenko@vyos.io> | 2020-08-19 00:37:00 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-18 23:37:00 +0200 |
commit | 865cba395223afaa263ff7581fb53ee509f36266 (patch) | |
tree | 833fded2c0993b5557f1e8f708f3565904ab4b63 /src/etc/systemd/system/ocserv.service.d | |
parent | 3282250a9a7c7a1df5c32e76fdc0024fd1ce9d9f (diff) | |
download | vyos-1x-865cba395223afaa263ff7581fb53ee509f36266.tar.gz vyos-1x-865cba395223afaa263ff7581fb53ee509f36266.zip |
anyconnect: T2036: add anyconnect VPN support
Diffstat (limited to 'src/etc/systemd/system/ocserv.service.d')
-rw-r--r-- | src/etc/systemd/system/ocserv.service.d/override.conf | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/etc/systemd/system/ocserv.service.d/override.conf b/src/etc/systemd/system/ocserv.service.d/override.conf new file mode 100644 index 000000000..89dbb153f --- /dev/null +++ b/src/etc/systemd/system/ocserv.service.d/override.conf @@ -0,0 +1,14 @@ +[Unit] +RequiresMountsFor=/run +ConditionPathExists=/run/ocserv/ocserv.conf +After= +After=vyos-router.service +After=dbus.service + +[Service] +WorkingDirectory=/run/ocserv +PIDFile= +PIDFile=/run/ocserv/ocserv.pid +ExecStart= +ExecStart=/usr/sbin/ocserv --foreground --pid-file /run/ocserv/ocserv.pid --config /run/ocserv/ocserv.conf + |