mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 03:33:25 +02:00
vpn-statistic: move collectd.vpn to /var/ipfire/ovpn/
collectd.vpn needs to be within /var/ipfire/ovpn so that the ovpnmain.cgi is able to write the status files from the n2n connections to the file.
This commit is contained in:
committed by
Michael Tremer
parent
91c2eaec9a
commit
6b7cbc8f33
@@ -4,6 +4,7 @@
|
||||
/var/ipfire/*/config
|
||||
/var/ipfire/*/enable
|
||||
/var/ipfire/*/*enable*
|
||||
/var/ipfire/ovpn/collectd.vpn
|
||||
/etc/passwd
|
||||
/etc/shadow
|
||||
/etc/group
|
||||
|
||||
@@ -243,3 +243,4 @@ usr/share/collectd/types.db
|
||||
#usr/share/man/man5/collectd.conf.5
|
||||
#usr/share/man/man5/types.db.5
|
||||
#var/lib/collectd
|
||||
var/ipfire/ovpn/collectd.vpn
|
||||
|
||||
@@ -45,6 +45,9 @@ cat <<EOF >> /etc/sysconfig/createfiles
|
||||
/var/run/openvpn dir 644 nobody nobody
|
||||
EOF
|
||||
|
||||
# Update /etc/collectd.conf
|
||||
echo "include \"/etc/collectd.vpn\"" >> /etc/collectd.conf
|
||||
|
||||
# Generate ddns configuration file
|
||||
sudo -u nobody /srv/web/ipfire/cgi-bin/ddns.cgi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user