mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 16:06:42 +02:00
https://github.com/ncarlier/webhookd A very simple webhook server launching shell scripts
19 lines
610 B
Bash
19 lines
610 B
Bash
# Configuration for /etc/init.d/webhookd
|
|
|
|
command_user="webhookd:webhookd" # user:group
|
|
supervisor="supervise-daemon"
|
|
directory="/var/lib/webhookd"
|
|
logdir="/var/log/webhookd"
|
|
#error_log="$logdir/error.log"
|
|
#output_log="$logdir/output.log"
|
|
|
|
# Declare configuration variables below
|
|
# https://github.com/ncarlier/webhookd/blob/master/etc/default/webhookd.env
|
|
|
|
# Scripts location
|
|
export WHD_HOOK_SCRIPTS="$directory"
|
|
# Hook execution logs location
|
|
export WHD_HOOK_LOG_DIR="$logdir"
|
|
# HTTP listen address, default is ":8080"
|
|
# Example: `localhost:8080` or `:8080` for all interfaces
|
|
#export WHD_LISTEN_ADDR=":8080"
|