search

Loading

Sunday, June 23, 2013

How to autostart dropbox linux client daemon at server reboot

We have seen the script to start dropbox linux client daemon to start automatically if it is getting killed before. But how to autostart the client at server reboot?

As usual we can add the script to cronjob to take care of this. We will find this how below.

My dropbox client is at /usr/local/src/dropbox.py. You can find your dropbox client location by running the below command:

which dropbox
/usr/local/src/dropbox.py

Now create a crontab entry to start this daemon at reboot

 crontab -e
 @reboot/usr/local/src/dropbox.py start

That's all. Now your dropbox client will autostart at reboot  as this cron will run at after the system reboot.


No comments :

Post a Comment