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
         return
266
         return
267
     fi
267
     fi
268
 
268
 
269
+    systemctl stop movim
270
+    systemctl disable movim
271
+    rm /etc/systemd/system/movim.service
272
+
269
     read_config_param "MY_USERNAME"
273
     read_config_param "MY_USERNAME"
270
     echo "Removing $MOVIM_DOMAIN_NAME"
274
     echo "Removing $MOVIM_DOMAIN_NAME"
271
     nginx_dissite $MOVIM_DOMAIN_NAME
275
     nginx_dissite $MOVIM_DOMAIN_NAME