Starting Duplicati in freenas jail

For whatever reason I can not get Duplicati to start via adding the following command to the rc.local,
/usr/local/bin/mono /opt/Duplicati/Duplicati.Server.exe --webservice-port=8200 --webservice-interface=any &

So I added it to cron,

@reboot /usr/local/bin/mono /opt/Duplicati/Duplicati.Server.exe --webservice-port=8200 --webservice-interface=any &

I am running FreeNAS 11 … any ideas why adding to rc.local doesn’t work. Note I did set it to executable.

Hi - I’ve been working on some scripts/commands and now have Duplicati running in iocage as a ‘service’ on my FreeNAS server.

He’s what I’ve created (its draft and you will need to modify for your own server).

Its a link to FreeNAS forums as I couldn’t cut’n’paste to here as the formatting on the post changes and makes the script invalid…

https://forums.freenas.org/index.php?resources/duplicati-running-in-an-iocage.98/