mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43: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
@@ -112,6 +112,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
--with-librrd=/usr/share/rrdtool-1.2.30
|
||||
cd $(DIR_APP) && make install
|
||||
cp -vf $(DIR_SRC)/config/collectd/collectd.* /etc/
|
||||
mv /etc/collectd.vpn /var/ipfire/ovpn/collectd.vpn
|
||||
chown nobody.nobody /var/ipfire/ovpn/collectd.vpn
|
||||
ln -f -s ../var/ipfire/ovpn/collectd.vpn /etc/collectd.vpn
|
||||
ln -f -s ../init.d/collectd /etc/rc.d/rc0.d/K50collectd
|
||||
ln -f -s ../init.d/collectd /etc/rc.d/rc3.d/S29collectd
|
||||
ln -f -s ../init.d/collectd /etc/rc.d/rc6.d/K50collectd
|
||||
|
||||
Reference in New Issue
Block a user