Sorry folks if this is a stupid question, but how can I run a script right after system boots?
I have a script for dropbox syncronization with my local folder and I'd like to have it running as a service since the system is up.
I've already tried many different ways as described below but all them failed.
First I tried to add the script with a & at the end of the command line into rc.local file. No luck, for some reason it stuck and it does nothing.
Second I tried to create another start/stop script and add it into init boot sequence as suggested at http://www.debian-administration.org/articles/28, but no luck again, it stucks again and nothing works.
Now I removed the script from init sequence and after every boot I have to manually log in and run sudo service dropbox start command to have it working, and now it does work.
Any idea how to fix this is welcome.
In case you need further details just let me know, tks.