ocserv: if ocserv.conf.local is present append it to ocserv.conf
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
parent
3e0e8c3863
commit
ddb59c4f72
2 changed files with 3 additions and 0 deletions
|
@ -55,6 +55,8 @@ setup_config() {
|
|||
-e "s#|IPV6ADDR|#$ip6addr#g" \
|
||||
-e "s/|ENABLE_IPV6|/$enable_ipv6/g" \
|
||||
/etc/ocserv/ocserv.conf.template > /var/etc/ocserv.conf
|
||||
|
||||
test -f /etc/ocserv/ocserv.conf.local && cat /etc/ocserv/ocserv.conf.local >> /var/etc/ocserv.conf
|
||||
}
|
||||
|
||||
setup_users() {
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
/etc/ocserv/ca.pem
|
||||
/etc/ocserv/server-key.pem
|
||||
/etc/ocserv/server-cert.pem
|
||||
/etc/ocserv/ocserv.conf.local
|
||||
/etc/ocserv/config-per-user/*
|
||||
/etc/ocserv/config-per-group/*
|
||||
/etc/ocserv/crl.pem
|
||||
|
|
Loading…
Reference in a new issue