mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
19 lines
384 B
Bash
19 lines
384 B
Bash
#!/sbin/openrc-run
|
|
|
|
: ${HEPLIFY_OPTS:="-i lo"}
|
|
|
|
description="Multi-Protocol Go HEP Capture Agent"
|
|
command=/usr/bin/heplify
|
|
command_args="$HEPLIFY_OPTS -p /var/log/heplify"
|
|
command_background=yes
|
|
pidfile="/run/heplify/${RC_SVCNAME}.pid"
|
|
|
|
depend() {
|
|
need net
|
|
after firewall
|
|
}
|
|
|
|
start_pre() {
|
|
checkpath --directory --owner $command_user:$command_group ${pidfile%/*} /var/log/heplify
|
|
}
|