Remove movim daemon on uninstall

This commit is contained in:
Bob Mottram 2017-05-19 17:09:39 +01:00
parent 290799c972
commit 21ab3ceb5f
1 changed files with 4 additions and 0 deletions

View File

@ -266,6 +266,10 @@ function remove_movim {
return
fi
systemctl stop movim
systemctl disable movim
rm /etc/systemd/system/movim.service
read_config_param "MY_USERNAME"
echo "Removing $MOVIM_DOMAIN_NAME"
nginx_dissite $MOVIM_DOMAIN_NAME