From 305c9e90d48d76800642e82d9f9cf65636b3e643 Mon Sep 17 00:00:00 2001 From: midoks Date: Thu, 14 Jul 2022 15:07:28 +0800 Subject: [PATCH] Update install.sh --- plugins/sphinx/install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/sphinx/install.sh b/plugins/sphinx/install.sh index 94e97d638..8506f07c8 100755 --- a/plugins/sphinx/install.sh +++ b/plugins/sphinx/install.sh @@ -50,10 +50,11 @@ Install_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 disable sphinx rm -rf /usr/lib/systemd/system/sphinx.service + rm -rf /lib/systemd/system/sphinx.service systemctl daemon-reload fi