aports/testing/piler/searchd.initd
Noel Kuntze d8eb18cdc7 testing/piler: new aport
Open source email archiving solution with all the necessary features for your enterprise
2024-03-30 17:36:37 +00:00

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"
}