mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 11:15:13 +03:00
21 lines
330 B
Bash
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
|
|
}
|