So I've successfully set up a OpenVPN service in a jail and went to apply that to another program and I'm having a lot of difficulty. The other program is called mlbserver and it basically allows you to set up a IPTV stream for baseball games. I can run it manually just fine, but would like it to run automatically even if I restart. I've tried running it through a daemon and just by itself but nothing works it always gives an error:
I set
and here is my /etc/rc.d/mlbserver file:
/etc/rc.d/mlbserver: WARNING: run_rc_command: cannot run mlbserver
I set
mlbserver_enabled=YES
on sysrcand here is my /etc/rc.d/mlbserver file:
Code:
# REQUIRE: LOGIN # KEYWORD: shutdown . /etc/rc.subr name=mlbserver rcvar=mlbserver_enable command=mlbserver load_rc_config $name run_rc_command "$1"