Notif-keeper cron record made more portable (hopefully).
authorZdeněk Šustr <sustr4@cesnet.cz>
Wed, 5 Sep 2012 07:09:37 +0000 (07:09 +0000)
committerZdeněk Šustr <sustr4@cesnet.cz>
Wed, 5 Sep 2012 07:09:37 +0000 (07:09 +0000)
org.glite.lb.server/config/glite-lb-notif-keeper.cron

index c942c1c..e5563ef 100644 (file)
@@ -1 +1 @@
-0 */4 * * *    glite   . /etc/profile.d/grid-env.sh ; export GLITE_WMS_NOTIF_SERVER=${HOSTNAME}:9000; @glite_prefix@/sbin/glite-lb-notif-keeper --file-prefix /var/tmp/glite-lb-notif --site-notif @glite_etc@/glite-lb/site-notif.conf > /tmp/notif.keeper.log.$$; logger -t glite-lb-notif-keeper -f /tmp/notif.keeper.log.$$; rm -f /tmp/notif.keeper.log.$$ 
+0 */4 * * *    glite   . /etc/profile.d/grid-env.sh ; export GLITE_WMS_NOTIF_SERVER=`hostname -f`:9000; @glite_prefix@/sbin/glite-lb-notif-keeper --file-prefix /var/tmp/glite-lb-notif --site-notif @glite_etc@/glite-lb/site-notif.conf > /tmp/notif.keeper.log.$$; logger -t glite-lb-notif-keeper -f /tmp/notif.keeper.log.$$; rm -f /tmp/notif.keeper.log.$$