From a1080113e3ef3fc91c9aae2ce4298e2161b77bad Mon Sep 17 00:00:00 2001 From: OpenGnsys Date: Mon, 15 Feb 2021 11:20:37 +0000 Subject: #1028 opengnsys_uninstall.sh remove ogserver service. --- installer/opengnsys_uninstall.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/installer/opengnsys_uninstall.sh b/installer/opengnsys_uninstall.sh index e0df8f8a..e1d7cc15 100755 --- a/installer/opengnsys_uninstall.sh +++ b/installer/opengnsys_uninstall.sh @@ -66,6 +66,14 @@ if [ -x /etc/init.d/opengnsys ]; then chkconfig --del opengnsys fi fi + +#Parar ogserver +if [ -r /lib/systemd/system/ogserver.service ]; then + systemctl stop ogserver + systemctl disable ogserver + rm /lib/systemd/system/ogserver.service +fi + # Comprobar acceso a la bases de datos. echo "Erasing OpenGnsys database." DROP=1 -- cgit v1.2.3-18-g5258