/usr/lib/tango/notify_daemon is in tango-starter 8.1.2c+dfsg-3.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | #!/bin/bash
#
# This file start the notify daemon
# used to manage the TANGO events
#
if [ ! $TANGO_HOST ] && [ -f /etc/tangorc ]; then
. /etc/tangorc
fi
case `uname -s` in
SunOS) KILLALL=pkill
;;
*) KILLALL=killall
;;
esac
ulimit -s 2048
#------------------------------------------------------------
# Start notify daemon and then write export info in database
#------------------------------------------------------------
NB=`ps -ef |grep notifd| grep -v grep | wc -l`
export NB
if [ $NB = 1 ]
then
$KILLALL -9 notifd
fi
echo "TANGO_HOST=$TANGO_HOST"
echo "Starting notifd....."
notifd -n -DDeadFilterInterval=300 1>/dev/null 2>/tmp/notifd.err &
#---- Sleep a bit before write IOR in database
sleep 3
/usr/lib/tango/notifd2db
echo "ulimit has been set to:"
ulimit -s
chmod 777 /tmp/notifd.err
chmod 777 /tmp/rdichan.ior
chmod 777 /tmp/rdifact.ior
|