pacotes.eletrotupi.com

ref: master

pkgs/smithy/smithy.initd


#!/sbin/openrc-run
name="smithy"
description="smithy forge service"
supervisor=supervise-daemon
command="/usr/bin/$name"
command_args="$smithy_opts"
command_user="smithy:smithy"
pidfile="/run/$name.pid"
start_stop_daemon_args="--stdout $smithy_log_file --stderr $smithy_log_file"

depend() {
	need net
	after firewall
}

start_pre() {
	checkpath -f -m 0644 -o ${SVCNAME}:${SVCNAME} "$smithy_log_file"
}