#!/sbin/openrc-run
description="URMA Node"
supervisor=supervise-daemon
command="@BIN@"
command_args="service run"
command_user="urma-node:urma-node"
output_log="@LOG@/urma-node.log"
error_log="@LOG@/urma-node.log"
respawn_delay=10
depend() {
use net
after firewall
}
start_pre() {
checkpath -f -m 0640 -o urma-node:urma-node "@LOG@/urma-node.log"
}