diff options
-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 |