mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 00:37:00 +08:00
Run in foreground when using systemd
Signed-off-by: Aron Xu <aron@debian.org>
This commit is contained in:
committed by
Nikos Mavrogiannopoulos
parent
d4b6d97697
commit
e2c609505b
@@ -6,9 +6,8 @@ Requires=ocserv.socket
|
||||
|
||||
[Service]
|
||||
PrivateTmp=true
|
||||
Type=forking
|
||||
PIDFile=/var/run/ocserv.pid
|
||||
ExecStart=/usr/sbin/ocserv --pid-file /var/run/ocserv.pid --config /etc/ocserv/ocserv.conf
|
||||
ExecStart=/usr/sbin/ocserv --foreground --pid-file /var/run/ocserv.pid --config /etc/ocserv/ocserv.conf
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
[Install]
|
||||
|
||||
Reference in New Issue
Block a user