| 1 | # Configuration for /etc/init.d/webhookd |
| 2 | |
| 3 | command_user="webhookd:webhookd" # user:group |
| 4 | supervisor="supervise-daemon" |
| 5 | directory="/var/lib/webhookd" |
| 6 | logdir="/var/log/webhookd" |
| 7 | #error_log="$logdir/error.log" |
| 8 | #output_log="$logdir/output.log" |
| 9 | |
| 10 | # Declare configuration variables below |
| 11 | # https://github.com/ncarlier/webhookd/blob/master/etc/default/webhookd.env |
| 12 | |
| 13 | # Scripts location |
| 14 | export WHD_HOOK_SCRIPTS="$directory" |
| 15 | # Hook execution logs location |
| 16 | export WHD_HOOK_LOG_DIR="$logdir" |
| 17 | # HTTP listen address, default is ":8080" |
| 18 | # Example: `localhost:8080` or `:8080` for all interfaces |
| 19 | #export WHD_LISTEN_ADDR=":8080" |