Some extra kills when removing gnusocial/postactiv
This commit is contained in:
parent
7345b7b629
commit
4321313922
|
@ -581,6 +581,7 @@ function remove_gnusocial {
|
|||
fi
|
||||
kill_pid=$(pgrep "/var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs/scripts/queuedaemon.php" | head -n 1)
|
||||
kill -9 "$kill_pid"
|
||||
pkill "$GNUSOCIAL_DOMAIN_NAME/htdocs/scripts/queuedaemon.php"
|
||||
|
||||
if [ -d "/var/www/$GNUSOCIAL_DOMAIN_NAME" ]; then
|
||||
rm -rf "/var/www/$GNUSOCIAL_DOMAIN_NAME"
|
||||
|
|
|
@ -595,6 +595,7 @@ function remove_postactiv {
|
|||
fi
|
||||
kill_pid=$(pgrep "/var/www/$POSTACTIV_DOMAIN_NAME/htdocs/scripts/queuedaemon.php" | head -n 1)
|
||||
kill -9 "$kill_pid"
|
||||
pkill "$POSTACTIV_DOMAIN_NAME/htdocs/scripts/queuedaemon.php"
|
||||
|
||||
if [ -d "/var/www/$POSTACTIV_DOMAIN_NAME" ]; then
|
||||
rm -rf "/var/www/$POSTACTIV_DOMAIN_NAME"
|
||||
|
|
Loading…
Reference in New Issue