1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 11:15:13 +03:00
aports/testing/pully/pully.initd
2022-02-26 17:06:14 +00:00

21 lines
330 B
Bash

#!/sbin/openrc-run
name="Pully"
description="Gitlab Webhook receiver"
: ${cfgfile:="/etc/pully.conf"}
: ${command_user:="root:root"}
command="/usr/bin/pully"
command_args="$cfgfile"
required_files="$cfgfile"
depend() {
need net
after firewall
}
start_pre() {
checkpath -f --owner "$command_user" --mode "0644" $logfile
}