Created
May 17, 2017 23:39
-
-
Save taosx/de47507d33e11baa5c6af12cc1790a4f to your computer and use it in GitHub Desktop.
This is a wrapper so that wp-cli can run as the www-data user so that permissions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# This is a wrapper so that wp-cli can run as the www-data user so that permissions | |
# remain correct | |
sudo -E -u ${USER} /usr/local/bin/wp-cli.phar $* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment