]> arthur.barton.de Git - netdata.git/blobdiff - netdata-installer.sh
Merge pull request #1227 from ktsaou/master
[netdata.git] / netdata-installer.sh
index ae831fe77df661776b7ca3c8e9f64d55bb6d0b94..319bd4efd4c9ecaf5a04784adc2bf7934b57ed9b 100755 (executable)
@@ -830,10 +830,11 @@ install_non_systemd_init() {
             run rc-update add netdata default && \
             installed_init_d=1
         
-        elif [ "${key}" = "ubuntu-12.04" -o "${key}" = "ubuntu-14.04" ]
+        elif [ "${key}" = "ubuntu-12.04" -o "${key}" = "ubuntu-14.04" -o "${key}" = "debian-7" ]
             then
             run cp system/netdata-lsb /etc/init.d/netdata && \
             run chmod 755 /etc/init.d/netdata && \
+            run update-rc.d netdata defaults && \
             run update-rc.d netdata enable && \
             installed_init_d=1