HOME="$HOMEDIR" start-stop-daemon -b -o -c $dbuser -S -u $dbuser -x $HOMEDIR/$DAEMON HOMEDIR=`getent passwd $dbuser | cut -d: -f6` vi /etc/init.d/dropbox Ubuntu/ Debian #!/bin/sh Add one of the below scripts to your init.d folder and substitute for the list of users who will use the client. Things may differ here, depending on your Linux distribution. Once you have got all this working and the Dropbox client is synchronizing your first files, it’s time to add an init.d script so that the Dropbox client starts with your operating system. As soon as this process completes, your Dropbox client will begin synchronization./dropbox.py start This client is not linked to any account. Paste the link into a web browser and login to your Dropbox account to grant access to the client. Start Dropbox for the first time with the Python script and you will be presented with a link. The next step is to register your account with the Dropbox client so that synchronization can begin. The client binaries will now be downloaded and installed. The client will be downloaded to your users home directory so make sure that you are logged in with the correct user./dropbox.py start -i You can now use the Python script to download the Dropbox client. Give the script the permission to execute. To get started, download the Python script to your home directory on your headless server with wget. Thankfully, the Dropbox team have created an easily deployable Dropbox client which works without a desktop installed and can be managed by a Python script. These are all graphical interfaces and do not work for deployment on a headless server. I’d be most grateful if you’d use the link :) ).ĭropbox offers a client to use on Windows, Mac OSX, Linux, iPhone and Android which you can download for free. If you’re not happy with this, you can simply visit and sign up. To register, visit Dropbox (Please note, that is my affiliate link which gives me a bonus if you sign up. You can register for a free account which gives you a limited amount of storage to use – no strings attached.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |