Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
chown debian-transmission:debian-transmission /path/to/lobber/dropbox
chmod g+s /path/to/lobber/dropbox

When you have made the key and added www-data to the group debian-transmission run:

Find the script lobberstoragenode in the directory scripts in lobber-storagenode.

You need to change the following options:

Code Block
titlelobberstoragnode

L_KEY="[KEY]"
L_HOST="localhost"

L_DROPBOXDIR="
Code Block

sudo -u www-data twistd -l /path/to/lobber/logs/storagenode.log --pidfile /tmp/twistd.pid lobberstoragenode -k [KEY] -h localhost -b /path/to/lobber/dropbox

If that seemed to work correctly you can copy the following startup script:

dropbox"

Copy the script to the start up script folder and change permissions on it.

Code Block

cp lobberstoragenode /etc/init.d/lobberstoragenode
chmod 755 /etc/init.d/lobberstoragenode

Then run update-rc to make the storage node start on boot.

Code Block

update-rc.d lobberstoragenode defaults

Start the storage node:

lobber-storagenode
Code Block

/etc/init.d/lobberstoragenode webapp start
Code Block
title

Unrevised old documentation

...