ocserv/ocserv.service

18 lines
412 B
SYSTEMD
Raw Normal View History

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
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
Type=simple
2013-12-06 13:24:37 +00:00
PIDFile=/var/run/ocserv.pid
ExecStartPre=/usr/sbin/ocserv-genkey
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