ocserv/ocserv.service
Nikos Mavrogiannopoulos e40d41b3e7 Update to 0.12.1-1
- Update to upstream 0.12.1 release
2018-05-12 12:46:16 +02:00

18 lines
412 B
Desktop File

[Unit]
Description=OpenConnect SSL VPN server
Documentation=man:ocserv(8)
After=syslog.target
After=network-online.target
After=dbus.service
[Service]
PrivateTmp=true
Type=simple
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
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target