Enable tracing in hooks when DOKKU_TRACE is set.
This makes it much easier to debug plugins. Also source the 'dokkurc' file when starting dokku. This makes it easy to define DOKKU_TRACE over ssh.
This commit is contained in:
1 parent
805c5a27c6
commit
83ce81fc51
10 files changed
+16
-12
No files matched your search
@@ -1,3 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eo pipefail
|
||||
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
||||
[[ -n $1 ]] && rm -r "$DOKKU_ROOT/$1" > /dev/null
|
||||
Reference in new issue
Block a user