mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-17 22:02:12 +01:00
22 lines
391 B
Bash
22 lines
391 B
Bash
#!/sbin/openrc-run
|
|
|
|
: ${cfgfile:="/etc/piler/manticore.conf"}
|
|
|
|
Description="Searchd for piler daemon"
|
|
command="/usr/bin/searchd"
|
|
command_args="--config $cfgfile $command_args"
|
|
command_user="piler:piler"
|
|
|
|
piddir=${piddir:-"/run/piler"}
|
|
pidfile="${piddir}/${SVCNAME}.pid"
|
|
|
|
depend() {
|
|
need net
|
|
after firewall mariadb
|
|
}
|
|
|
|
start_pre() {
|
|
checkpath --directory --owner "piler:piler" "$piddir"
|
|
}
|
|
|