Make stopdaemons.sh work no matter where it runs from
darcs-hash:20080927210355-f6e2c-e434c363a6d849215ceb7ee366f35c0a3cd92c8e.gz
This commit is contained in:
parent
dbf80a0f5a
commit
245a75f141
@ -20,7 +20,8 @@
|
|||||||
# This program tries to stop the daemons for Laconica that were
|
# This program tries to stop the daemons for Laconica that were
|
||||||
# previously started by startdaemons.sh
|
# previously started by startdaemons.sh
|
||||||
|
|
||||||
DIR=`php getpiddir.php`
|
SDIR=`dirname $0`
|
||||||
|
DIR=`php $SDIR/getpiddir.php`
|
||||||
|
|
||||||
for f in jabberhandler ombhandler publichandler smshandler \
|
for f in jabberhandler ombhandler publichandler smshandler \
|
||||||
xmppconfirmhandler xmppdaemon; do
|
xmppconfirmhandler xmppdaemon; do
|
||||||
|
Loading…
Reference in New Issue
Block a user