maxxfi wrote:Have you tried to run it from /etc/rc.local ?
(i.e. add one line "/usr/local/crashplan/bin/crashplan start" in rc.local)
It does not appear to be starting this way either. I suppose it could be starting and terminating immediately after, but if it is, I can't tell.
maxxfi wrote:Sorry, I did not understand where you added the debug line.
I essentially had a "startcp" script in /opt/etc/init.d/ that had the following two lines:
- Code: Select all
/usr/local/crashplan/bin/crashplan start
echo "Hello World" >> /volume1/crashplan/test.log
I tried a few other names including "S01crashplan", based on some help pages I found.
I added the second line so I could tell the script was running at startup. Entering the first line at the command prompt when logged in as root would start the CrashPlan engine properly (so I didn't think it was a syntax issue). But I still could not get CrashPlan to start at boot.
I have since moved the crashplan script I put in the code environment a couple of posts ago (the one from the CrashPlan installer) into /usr/local/etc/rc.d/ and renamed it crashplan.sh in the hopes that it would automatically run at startup. It meets the Synology startup script requirements of having the .sh extension, taking "start" and "stop" arguments, and having rwx attributes 755. It is also in the right directory as far as I can tell from Synology's documentation on third-party software. I can start it manually and keep it running in a detached screen, but it is not starting after I exit and restart the NAS.
I appreciate everyone's help and troubleshooting suggestions.