]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/stopdaemons.sh
Added missing isPrivateScope().
[quix0rs-gnu-social.git] / scripts / stopdaemons.sh
index ca2f4d1541e17f5680da3ce5056b630cbbfb6236..274f0903e25a75ad1c5ff5347333b06818625885 100755 (executable)
@@ -25,6 +25,8 @@ SITENAME=
 SITE=
 ID="*"
 
+# stopdaemons.sh [server [path]]
+
 if [ $# -gt 0 ] ; then
        SITENAME="$1"
        SITE="-s$SITENAME"
@@ -37,9 +39,9 @@ if [ $# -gt 1 ]; then
 fi
 
 SDIR=`dirname $0`
-DIR=`php $SDIR/getpiddir.php $SITE`
+DIR=`$SDIR/getpiddir.php $SITE`
 
-DAEMONS=`php $SDIR/getvaliddaemons.php $ARGSG`
+DAEMONS=`$SDIR/getvaliddaemons.php $ARGSG`
 
 for f in $DAEMONS; do
     f=$(basename $f .php)