Create fix.sh

This commit is contained in:
Michael
2020-07-16 16:31:03 +01:00
committed by GitHub
parent ca2e5921c8
commit 2eda016750

12
fix.sh Normal file
View File

@@ -0,0 +1,12 @@
echo Working out HOME directory
cd ~
sleep 1s
echo Setting WP Path
HMEPATH="$(pwd)"
sleep 1s
echo Deactivating New Worker
wp plugin deactivate mainwp-child --path=$HMEPATH/public_html/
sleep 10s
echo Reactivating New Worker
wp plugin activate mainwp-child --path=$HMEPATH/public_html/
echo DONE