nixos/ocserv: /var/run -> /run
This commit is contained in:
parent
cc5f08fed8
commit
34738dea2a
@ -31,7 +31,7 @@ in
|
|||||||
udp-port = 443
|
udp-port = 443
|
||||||
run-as-user = nobody
|
run-as-user = nobody
|
||||||
run-as-group = nogroup
|
run-as-group = nogroup
|
||||||
socket-file = /var/run/ocserv-socket
|
socket-file = /run/ocserv-socket
|
||||||
server-cert = certs/server-cert.pem
|
server-cert = certs/server-cert.pem
|
||||||
server-key = certs/server-key.pem
|
server-key = certs/server-key.pem
|
||||||
keepalive = 32400
|
keepalive = 32400
|
||||||
@ -50,7 +50,7 @@ in
|
|||||||
rekey-time = 172800
|
rekey-time = 172800
|
||||||
rekey-method = ssl
|
rekey-method = ssl
|
||||||
use-occtl = true
|
use-occtl = true
|
||||||
pid-file = /var/run/ocserv.pid
|
pid-file = /run/ocserv.pid
|
||||||
device = vpns
|
device = vpns
|
||||||
predictable-ips = true
|
predictable-ips = true
|
||||||
default-domain = example.com
|
default-domain = example.com
|
||||||
@ -90,8 +90,8 @@ in
|
|||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
PrivateTmp = true;
|
PrivateTmp = true;
|
||||||
PIDFile = "/var/run/ocserv.pid";
|
PIDFile = "/run/ocserv.pid";
|
||||||
ExecStart = "${pkgs.ocserv}/bin/ocserv --foreground --pid-file /var/run/ocesrv.pid --config /etc/ocserv/ocserv.conf";
|
ExecStart = "${pkgs.ocserv}/bin/ocserv --foreground --pid-file /run/ocesrv.pid --config /etc/ocserv/ocserv.conf";
|
||||||
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
|
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user