summaryrefslogtreecommitdiffstats
path: root/netdata-installer.sh
diff options
context:
space:
mode:
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-xnetdata-installer.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh
index c63f7ede94..c7c19cd14f 100755
--- a/netdata-installer.sh
+++ b/netdata-installer.sh
@@ -1069,6 +1069,12 @@ if [ -f /etc/systemd/system/netdata.service ]
run rm -i /etc/systemd/system/netdata.service
fi
+if [ -f /lib/systemd/system/netdata.service ]
+ then
+ echo "Deleting /lib/systemd/system/netdata.service ..."
+ run rm -i /lib/systemd/system/netdata.service
+fi
+
if [ -f /etc/init.d/netdata ]
then
echo "Deleting /etc/init.d/netdata ..."