aboutsummaryrefslogtreecommitdiff
path: root/scuttler
diff options
context:
space:
mode:
Diffstat (limited to 'scuttler')
-rwxr-xr-xscuttler10
1 files changed, 5 insertions, 5 deletions
diff --git a/scuttler b/scuttler
index d3d6c39..2aa61a5 100755
--- a/scuttler
+++ b/scuttler
@@ -16,17 +16,17 @@ httracker_setup_folders
BASEDIR=/var/sites/links
SCUTTLEDIR=`basename $( find ${BASEDIR} -maxdepth 1 -iname "SemanticScuttle-*" | head -n 1 )`
CONFIGFILE=${BASEDIR}/${SCUTTLEDIR}/data/config.php
-dbuser=`httracker_scuttle_config dbuser`
-dbpass=`httracker_scuttle_config dbpass`
-dbname=`httracker_scuttle_config dbname`
-dbhost=`httracker_scuttle_config dbhost`
+DBUSER=`httracker_scuttle_config dbuser`
+DBPASS=`httracker_scuttle_config dbpass`
+DBNAME=`httracker_scuttle_config dbname`
+DBHOST=`httracker_scuttle_config dbhost`
# So we can run both applications in parallel
URLS="$URLS_SCUTTLER"
# Get URLs from database
touch ${URLS}
-chown links.links ${URLS}
+chown ${SCUTTLE_USER}.${SCUTTLE_GROUP} ${URLS}
chmod 600 ${URLS}
httracker_sqlquery "select bAddress from sc_bookmarks;" > ${URLS}