From 602dfca24cfc447f774d0e8b7f3cb2b3b0db9b61 Mon Sep 17 00:00:00 2001 From: src386 Date: Thu, 3 Sep 2015 17:24:46 +0200 Subject: [PATCH] stop php5-fpm to remove movim --- README.md | 1 + scripts/remove | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c010e99..d48f89a 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ Current Movim version : 0.9 git2015-09-03 - script/install now check if path is empty. - script/remove now delete /etc/php/fpm/pool.d/movim.conf (fix #8). - script/remove now delete 'movim' user only after Movim service is stopped. +- script/remove now stop php5-fpm in order to remove Movim user - script/update now updates php dependancies (composer update). - conf/movim.service now has a PID and a syslog identifier. - conf/nginx.conf : proxy_read_timeout and proxy_send_timeout removed (default is 60s) diff --git a/scripts/remove b/scripts/remove index 1ad9a78..1316f16 100644 --- a/scripts/remove +++ b/scripts/remove @@ -5,6 +5,7 @@ db_name=movim root_pwd=$(sudo cat /etc/yunohost/mysql) #Stop service and remove init +sudo service php5-fpm stop sudo /etc/init.d/movim stop sudo systemctl stop movim.service sudo systemctl disable movim.service @@ -22,4 +23,4 @@ udo rm etc/php5/fpm/pool.d/movim.conf # Restarting services sudo service nginx reload -sudo service php5-fpm restart +sudo service php5-fpm start