2013-12-06 13:24:37 +00:00
|
|
|
[Unit]
|
|
|
|
Description=OpenConnect SSL VPN server
|
|
|
|
Documentation=man:ocserv(8)
|
2014-01-27 09:43:16 +00:00
|
|
|
After=syslog.target
|
2015-01-05 12:55:20 +00:00
|
|
|
After=network-online.target
|
2014-01-27 09:43:16 +00:00
|
|
|
After=dbus.service
|
2013-12-06 13:24:37 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
PrivateTmp=true
|
2018-05-12 10:03:06 +00:00
|
|
|
Type=simple
|
2013-12-06 13:24:37 +00:00
|
|
|
PIDFile=/var/run/ocserv.pid
|
2014-06-06 15:24:25 +00:00
|
|
|
ExecStartPre=/usr/sbin/ocserv-genkey
|
2018-05-12 10:03:06 +00:00
|
|
|
ExecStart=/usr/sbin/ocserv --pid-file /var/run/ocserv.pid --config /etc/ocserv/ocserv.conf -f
|
2013-12-06 13:24:37 +00:00
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|