diff options
author | CiaranG <ciaran@ciarang.com> | 2008-09-06 16:22:42 -0400 |
---|---|---|
committer | CiaranG <ciaran@ciarang.com> | 2008-09-06 16:22:42 -0400 |
commit | e52be4183d8054caeab606092814342bf092d6d5 (patch) | |
tree | b183d18c43df774ba95c4f94c7a0d14ca28b6aa4 /scripts/startdaemons.sh | |
parent | a1434ee1cfc04c5f6af30738ec8610726e464570 (diff) |
A working stopdaemons.sh, and no parameter needed for startdaemons.sh
darcs-hash:20080906202242-f6e2c-8f3d04c181ef4bffc1727f3333a3bfe5766bda6b.gz
Diffstat (limited to 'scripts/startdaemons.sh')
-rwxr-xr-x | scripts/startdaemons.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/startdaemons.sh b/scripts/startdaemons.sh index a862b9dfe..685bd938f 100755 --- a/scripts/startdaemons.sh +++ b/scripts/startdaemons.sh @@ -20,12 +20,12 @@ # This program tries to start the daemons for Laconica. # Note that the 'maildaemon' needs to run as a mail filter. -export INSTALLDIR=$1 +DIR=`dirname $0` for f in xmppdaemon.php jabberqueuehandler.php publicqueuehandler.php \ xmppconfirmhandler.php smsqueuehandler.php ombqueuehandler.php; do echo -n "Starting $f..."; - php $INSTALLDIR/scripts/$f; + php $DIR/$f echo "DONE." done |