diff --git a/install.sh b/install.sh index 896f8c7..c05f5ce 100755 --- a/install.sh +++ b/install.sh @@ -32,14 +32,6 @@ fi apt-get update -# have packages automatically start/restart/stop after install/upgrade/uninstall -if [[ -f /usr/sbin/policy-rc.d ]]; then - sed -i "s|exit 101|exit 0|g" /usr/sbin/policy-rc.d -fi -if [[ -f /etc/needrestart/needrestart.conf ]]; then - sed -i "s|^#\$nrconf{restart} = 'i';|\$nrconf{restart} = 'a';|g" /etc/needrestart/needrestart.conf -fi - # create local systemd dir if [[ ! -d /usr/local/lib/systemd/system ]]; then mkdir -p /usr/local/lib/systemd/system