I've manually installed the syncrify server into the jail enviroment, but I can't seem to find how to make sure it starts along with the jail.
I've added the following script into the /etc/rc.d and I can start it using the script, but it's not starting with the jail.
__________________________________________
#!/bin/sh
. /etc/rc.subr
name="syncrify"
rcvar=syncrify_enable
start_cmd="${name}_start"
stop_cmd=":"
syncrify_start(){
cd /syncrify
./run.sh
}
load_rc_config $name
run_rc_command "$1"
__________________________________________
I've also got the following line in /etc/rc.conf
syncrify_enable="YES"
I'm a bit clueless here, thanks in advance for the help.
Later,
Mark
I've added the following script into the /etc/rc.d and I can start it using the script, but it's not starting with the jail.
__________________________________________
#!/bin/sh
. /etc/rc.subr
name="syncrify"
rcvar=syncrify_enable
start_cmd="${name}_start"
stop_cmd=":"
syncrify_start(){
cd /syncrify
./run.sh
}
load_rc_config $name
run_rc_command "$1"
__________________________________________
I've also got the following line in /etc/rc.conf
syncrify_enable="YES"
I'm a bit clueless here, thanks in advance for the help.
Later,
Mark