]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
core190: Ship collectd changed
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 22 Sep 2024 14:20:28 +0000 (14:20 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 22 Sep 2024 14:20:28 +0000 (14:20 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/core/190/filelists/files
config/rootfiles/core/190/update.sh

index 2f90a2d5c4e2a3f1d768b16393c3147baae896c1..9c0994bc69027ae7f13868e09b5b5ce0a996cd87 100644 (file)
@@ -1,3 +1,6 @@
+etc/collectd.conf
+etc/collectd.d
+etc/rc.d/init.d/collectd
 srv/web/ipfire/cgi-bin/index.cgi
 srv/web/ipfire/cgi-bin/logs.cgi/log.dat
 var/ipfire/network-functions.pl
index 5abd6d6b7e74562f05e3fd9894a8e2d2c56e8905..95ab84a8a6b86290e603c292f4a470a227a7ebdc 100644 (file)
@@ -50,7 +50,13 @@ ldconfig
 # Apply local configuration to sshd_config
 /usr/local/bin/sshctrl
 
+# collectd
+if [ -e "/etc/collectd.custom" ]; then
+       mv -v /etc/collectd.custom /etc/collectd.d/
+fi
+
 # Start services
+/etc/init.d/collectd restart
 
 # This update needs a reboot...
 touch /var/run/need_reboot