diff options
author | OpenGnsys <OpenGnsys@opengnsys.com> | 2021-02-15 11:20:37 +0000 |
---|---|---|
committer | OpenGnsys <OpenGnsys@opengnsys.com> | 2021-02-15 11:20:37 +0000 |
commit | a1080113e3ef3fc91c9aae2ce4298e2161b77bad (patch) | |
tree | 1e38c5739547eedf01b24f8034f80e6c0876b700 | |
parent | cdcbc9332d0494daf58ffc2de9935a60bd129542 (diff) |
#1028 opengnsys_uninstall.sh remove ogserver service.
-rwxr-xr-x | installer/opengnsys_uninstall.sh | 8 |
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 |