diff options
author | CiaranG <ciaran@ciarang.com> | 2008-09-27 17:03:55 -0400 |
---|---|---|
committer | CiaranG <ciaran@ciarang.com> | 2008-09-27 17:03:55 -0400 |
commit | 245a75f141081747239269b2270f71288cca806f (patch) | |
tree | 86a3c55aebfbd0cdeb0ccbd4b798bac89fdeddb2 | |
parent | dbf80a0f5a64926e6205a33717037e851fee8ed4 (diff) |
Make stopdaemons.sh work no matter where it runs from
darcs-hash:20080927210355-f6e2c-e434c363a6d849215ceb7ee366f35c0a3cd92c8e.gz
-rwxr-xr-x | scripts/stopdaemons.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/stopdaemons.sh b/scripts/stopdaemons.sh index b8b16763f..08e1d4714 100755 --- a/scripts/stopdaemons.sh +++ b/scripts/stopdaemons.sh @@ -20,7 +20,8 @@ # This program tries to stop the daemons for Laconica that were # previously started by startdaemons.sh -DIR=`php getpiddir.php` +SDIR=`dirname $0` +DIR=`php $SDIR/getpiddir.php` for f in jabberhandler ombhandler publichandler smshandler \ xmppconfirmhandler xmppdaemon; do |