Here is the script I’m using to autostart.
Use nano to create the file:
nano -wc /etc/rc.d/urbackupsrv
Add this to the file:
#!/bin/sh
. /etc/rc.subr
name=urbackupsrv
rcvar=urbackupsrv_enable
command="/usr/local/bin/${name}"
command_args=“run -d -g 104857600 -u root”
start_precmd=“cd /usr/local/var”
load_rc_config $name
run_rc_command “$1”
Run this:
chmod +x /etc/rc.d/urbackupsrv
Run this:
echo ‘urbackupsrv_enable=“YES”’ >> /etc/rc.conf