Add passthrough 'wp' script that adds --allow-root and --path arguments to wp-cli

This commit is contained in:
xZero707
2020-04-02 01:34:34 +02:00
parent fe488e5752
commit 309e559f81
2 changed files with 4 additions and 1 deletions

3
rootfs/usr/local/bin/wp Normal file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
/usr/local/bin/wp-cli --allow-root --path="/var/www/${WEB_ROOT}" "$@"