Browse Source

Remove movim daemon on uninstall

Bob Mottram 8 years ago
parent
commit
21ab3ceb5f
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/freedombone-app-movim

+ 4
- 0
src/freedombone-app-movim View File

@@ -266,6 +266,10 @@ function remove_movim {
266 266
         return
267 267
     fi
268 268
 
269
+    systemctl stop movim
270
+    systemctl disable movim
271
+    rm /etc/systemd/system/movim.service
272
+
269 273
     read_config_param "MY_USERNAME"
270 274
     echo "Removing $MOVIM_DOMAIN_NAME"
271 275
     nginx_dissite $MOVIM_DOMAIN_NAME