Hi everyone,
I have my N40L up and running with OMV and have sorted all of my X11 and SSH issues. However, now another one has popped up. I use Spideroak to backup all of my data and I want it to run on the NAS. I have installed it and completed the initial setup through the GUI which I can now run through X11. Everything I want backed up is selected and happily working away.
However, I want Spideroak to start at boot, to ensure it is always working. This is where I have run into difficulty. I have tried entering a cron job for it, however it refuses to run using @reboot. It will let me simply start Spideroak by removing the @reboot and running the cron job, but this is not really much use as it will not start the service when the server reboots.
My cron job is as follows:
which I snagged from here http://askubuntu.com/questions…ally-on-a-headless-server.
I'm not sure what the -S suffix does to SpiderOak, as they actually don't list this anywhere in their documentation as an available option, and not sure why there is a -- without an option either. Neither interferes with SpiderOak if I manually start it with those included.
I am running the cron job using my admin account which I have setup for me to login under rather than root. This is the same account which I have linked to my SpiderOak install when I registered my device and the encryption keys. I am using bash as the shell for this account.
The error I get everytime I run this cron job is:
.
Rebooting the server does not result in SpiderOak starting up, with no process shown. As explained initially, removing @reboot and using the WebGUI to manually run the cron job will start SpiderOak, so it would seem that everything after the @reboot part is correct and it is happy running under my admin account login, as SpiderOak is correctly running with the manual start.
I'm very new to cron, but looking around online it seems that lots of others using Debian and Ubuntu use the @reboot command successfully but this seems to be the only part preventing me from making this work. Can anyone please advise what I am doing incorrectly? Thank you.