Files
ocserv/doc/systemd/standalone/ocserv.service
Aron Xu d925276da8 Remove syslog.target from systemd service files
syslog is now socket-activated on all major distributions, hence
the target is deprecated.

Signed-off-by: Aron Xu <aron@debian.org>
2015-01-24 10:15:57 +01:00

15 lines
346 B
Desktop File

[Unit]
Description=OpenConnect SSL VPN server
Documentation=man:ocserv(8)
After=network.target
After=dbus.service
[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