Update install.sh

pull/125/head
midoks 3 years ago
parent 1eabd8ccb4
commit 305c9e90d4
  1. 3
      plugins/sphinx/install.sh

@ -50,10 +50,11 @@ Install_sphinx()
Uninstall_sphinx() Uninstall_sphinx()
{ {
if [ -f /usr/lib/systemd/system/sphinx.service ];then if [ -f /usr/lib/systemd/system/sphinx.service ] || [ -f /lib/systemd/system/sphinx.service ];then
systemctl stop sphinx systemctl stop sphinx
systemctl disable sphinx systemctl disable sphinx
rm -rf /usr/lib/systemd/system/sphinx.service rm -rf /usr/lib/systemd/system/sphinx.service
rm -rf /lib/systemd/system/sphinx.service
systemctl daemon-reload systemctl daemon-reload
fi fi

Loading…
Cancel
Save