Stopping daemons
This commit is contained in:
parent
7c7bb6a28c
commit
db94320f94
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue