Created
July 29, 2014 22:25
-
-
Save marczhermo/10b3110333bccac20fc9 to your computer and use it in GitHub Desktop.
bash with -x
This file contains hidden or 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
| I don't know what's causing this problem in particular, however in general if you're having troubles with a script (such as an init script) it's worth running it under a shell with the -x option (eg /bin/bash -x /etc/init.d/php5-fpm start), which will print out a full trace of the script's execution, which will almost certainly make it obvious what's going wrong. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment