mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-09 16:26:59 +08:00
Separated the logging logically from any remaining debugging features. Introduced command line option for logging to stderr only (for systemd and containers). The default log level is set to (2) info. Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
17 lines
393 B
Desktop File
17 lines
393 B
Desktop File
[Unit]
|
|
Description=OpenConnect SSL VPN server
|
|
Documentation=man:ocserv(8)
|
|
After=network-online.target
|
|
Requires=ocserv.socket
|
|
|
|
[Service]
|
|
PrivateTmp=true
|
|
PIDFile=/run/ocserv.pid
|
|
Type=simple
|
|
ExecStart=/usr/sbin/ocserv --log-stderr --foreground --pid-file /run/ocserv.pid --config /etc/ocserv/ocserv.conf
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
Also=ocserv.socket
|