aports/testing/webhookd/webhookd.confd
Fabricio Silva ac41e8cd2c testing/webhookd: new aport
https://github.com/ncarlier/webhookd
A very simple webhook server launching shell scripts
2025-01-30 16:55:46 +00:00

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"