pacotes.eletrotupi.com

ref: master

pkgs/antispam-api/antispam-api.initd


#!/sbin/openrc-run
name="antispam-api"
description="Tiny daemon API for identify potentially spam username/domains"
supervisor=supervise-daemon
command=/usr/bin/antispam-api
command_user="antispam:antispam"
command_args="serve"
pidfile="/run/${RC_SVCNAME}.pid"
start_stop_daemon_args="--stdout $antispam_log_file"

start_pre() {
	checkpath -f -m 0664 -o "antispam:antispam" "$antispam_log_file"
}