Skip to content

Commit

Permalink
Dropbox daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
SAPikachu committed Jan 18, 2014
1 parent ccdd0a3 commit 359cd38
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions conf_files/^etc^init^dropbox.conf
@@ -0,0 +1,21 @@
description "Dropbox daemon"

env RUNAS=dropbox
env http_proxy=http://127.0.0.1:3128
env https_proxy=http://127.0.0.1:3128

start on remote-filesystems
stop on runlevel [!2345]

respawn
respawn limit 10 5
umask 022

console log

script
mkdir -p /mnt/dropbox
mount | grep /mnt/dropbox || mount -t nfs ${NAS_IP}:/mnt/zfs/dropbox /mnt/dropbox
exec su $RUNAS -c /home/$RUNAS/.dropbox-dist/dropboxd
end script

0 comments on commit 359cd38

Please sign in to comment.