From: Michael Tremer Date: Mon, 13 Apr 2015 09:39:08 +0000 (+0200) Subject: core89: Move converter to the end because collectd should be restarted at last X-Git-Tag: v2.17-core89~1^2~4 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=8d679040b7798330441c470ae361ec67db00b635;hp=5c5b4000b9053d8bf993d5d0a87393f7540786c9 core89: Move converter to the end because collectd should be restarted at last --- diff --git a/config/rootfiles/core/89/update.sh b/config/rootfiles/core/89/update.sh index 435b453623..bb6c7a544a 100644 --- a/config/rootfiles/core/89/update.sh +++ b/config/rootfiles/core/89/update.sh @@ -68,16 +68,16 @@ rm -f \ /opt/pakfire/db/*/meta-sqlite \ /opt/pakfire/db/rootfiles/sqlite -# Update OpenVPN/collectd configuration -/usr/sbin/ovpn-collectd-convert -chown nobody.nobody /var/ipfire/ovpn/collectd.vpn - mkdir -p /var/run/openvpn touch /var/run/ovpnserver.log chown nobody.nobody \ /var/run/openvpn \ /var/run/ovpnserver.log +# Update OpenVPN/collectd configuration +/usr/sbin/ovpn-collectd-convert +chown nobody.nobody /var/ipfire/ovpn/collectd.vpn + # Fix permissions chown nobody.nobody /var/ipfire/dns