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