Author: benj
Date: Thu Sep 1 23:52:51 2016
New Revision: 1736
URL: http://svn.gna.org/viewcvs/gdtc?rev=1736&view=rev
Log:
Rellay work as expected
Modified:
trunk/gdtc/scripts/mailing-daemon.sh
Modified: trunk/gdtc/scripts/mailing-daemon.sh
URL:
http://svn.gna.org/viewcvs/gdtc/trunk/gdtc/scripts/mailing-daemon.sh?rev=1736&r1=1735&r2=1736&view=diff
==============================================================================
--- trunk/gdtc/scripts/mailing-daemon.sh (original)
+++ trunk/gdtc/scripts/mailing-daemon.sh Thu Sep 1 23:52:51 2016
@@ -2,8 +2,9 @@
root=/var/www/adherents.april.org/htdocs
-if $(pidof -x mailing-daemon.php) ; then
- echo "Demarré."
+if test -n $(pidof -x mailing-daemon.php) ; then
+ #echo "Demarré."
+ exit 0
else
$root/scripts/mailing-daemon.php
fi
_______________________________________________
Gdtc-commits mailing list
[email protected]
https://mail.gna.org/listinfo/gdtc-commits