From db94320f943ef7c035e7278e87d42b70e2fda046 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 3 Jun 2017 19:58:09 +0100 Subject: [PATCH] Stopping daemons --- src/freedombone-app-gnusocial | 2 +- src/freedombone-app-postactiv | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedombone-app-gnusocial b/src/freedombone-app-gnusocial index 8f9d3711..b0622cd9 100755 --- a/src/freedombone-app-gnusocial +++ b/src/freedombone-app-gnusocial @@ -486,7 +486,7 @@ function remove_gnusocial { rm /etc/cron.hourly/gnusocial-daemons fi if [ -f /var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs/scripts/stopdaemons.sh ]; then - cd /var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs/scripts + cd /var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs scripts/stopdaemons.sh fi kill_pid=$(ps aux | grep /var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs/scripts/queuedaemon.php | awk -F ' ' '{print $2}' | head -n 1) diff --git a/src/freedombone-app-postactiv b/src/freedombone-app-postactiv index e289410a..c2134bdc 100755 --- a/src/freedombone-app-postactiv +++ b/src/freedombone-app-postactiv @@ -488,7 +488,7 @@ function remove_postactiv { rm /etc/cron.hourly/postactiv-daemons fi if [ -f /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/scripts/stopdaemons.sh ]; then - cd /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/scripts + cd /var/www/$POSTACTIV_DOMAIN_NAME/htdocs scripts/stopdaemons.sh fi kill_pid=$(ps aux | grep /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/scripts/queuedaemon.php | awk -F ' ' '{print $2}' | head -n 1)