Files
ocserv/doc/systemd/standalone/ocserv.service
Nikos Mavrogiannopoulos ec10295d9c Added two versions of systemd socket files, a standalone and a socket activate.
From the standalone is installed by default.
2014-01-28 18:01:31 +01:00

17 lines
366 B
Desktop File

[Unit]
Description=OpenConnect SSL VPN server
Documentation=man:ocserv(8)
After=syslog.target
After=network.target
After=dbus.service
[Service]
PrivateTmp=true
Type=forking
PIDFile=/var/run/ocserv.pid
ExecStart=/usr/sbin/ocserv --pid-file /var/run/ocserv.pid --config /etc/ocserv/ocserv.conf
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target