summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rhdropbox.init1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/rhdropbox.init b/debian/rhdropbox.init
index 79d8c38..429c682 100755
--- a/debian/rhdropbox.init
+++ b/debian/rhdropbox.init
@@ -32,6 +32,7 @@ start_db () {
test -d $CHROOTDIR || mkdir -p $CHROOTDIR
fi
test -d $VARRUN_DIR || mkdir -p $VARRUN_DIR
+ chmod 777 $VARRUN_DIR
DAEMONARG=`sed 's/#.*//' < $CONFIG_DIR/$DBNAME/config | grep -e '\w' | sed 's/^/--/' | tr '\n' ' '`
$DAEMON --write-pid $VARRUN_DIR/$DBNAME.pid $NEWFILE $DAEMONOPTS $DAEMONARG || STATUS="FAILED"
else