Update install.sh

pull/123/head
midoks 3 years ago
parent e25d2cd775
commit 384c4b6423
  1. 3
      plugins/php/install.sh

@ -33,10 +33,11 @@ fi
if [ "${action}" == "uninstall" ];then
if [ -f /usr/lib/systemd/system/php${type}.service ];then
if [ -f /usr/lib/systemd/system/php${type}.service ] || [ -f /lib/systemd/system/php${type}.service ] ;then
systemctl stop php${type}
systemctl disable php${type}
rm -rf /usr/lib/systemd/system/php${type}.service
rm -rf /lib/systemd/system/php${type}.service
systemctl daemon-reload
fi
fi

Loading…
Cancel
Save