uninstaller removes netdata-updater from cron
Costa Tsaousis (ktsaou) committed
Jul 24, 2017 at 23:30 UTC
d2704cbfe64d824077c6044d3737a8ab6953a34a
1 file changed
+12
netdata-installer.sh
+12
@@ -1046,6 +1046,18 @@ if [ -f /etc/init.d/netdata ]
1046
rm -i /etc/init.d/netdata
1047
fi
1048
1049
+if [ -f /etc/periodic/daily/netdata-updater ]
1050
+ then
1051
+ echo "Deleting /etc/periodic/daily/netdata-updater ..."
1052
+ rm -i /etc/periodic/daily/netdata-updater
1053
+fi
1054
+
1055
+if [ -f /etc/cron.daily/netdata-updater ]
1056
+ then
1057
+ echo "Deleting /etc/cron.daily/netdata-updater ..."
1058
+ rm -i /etc/cron.daily/netdata-updater
1059
+fi
1060
+
1061
getent passwd netdata > /dev/null
1062
if [ $? -eq 0 ]
1063
then