#!/sbin/openrc-run name=$RC_SVCNAME command="/usr/local/bin/$RC_SVCNAME" command_user="$RC_SVCNAME" pidfile="/run/$RC_SVCNAME/$RC_SVCNAME.pid" start_stop_daemon_args="--start -b" command_args="$command_args" command_background="yes" depend() { need net } start_pre() { checkpath --directory --owner $command_user:$command_user --mode 0775 \ /run/$RC_SVCNAME /var/log/$RC_SVCNAME }