mirror of
https://github.com/mtan93/auocloud-auowp.git
synced 2026-03-08 05:31:59 +00:00
Create fix.sh
This commit is contained in:
12
fix.sh
Normal file
12
fix.sh
Normal 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
|
||||||
Reference in New Issue
Block a user