From c8a81cebcb6efbb61b0f4f801963f279f161d9d2 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 24 Dec 2009 08:22:04 +0000 Subject: fixed permissions at initscript 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 -- cgit v0.10.2