summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinstaller/opengnsys_uninstall.sh8
1 files changed, 8 insertions, 0 deletions
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