Debugging the data collector initscript

This commit is contained in:
Anton Beloglazov 2012-10-05 10:34:09 +10:00
parent 16fb522ac3
commit 225ccc66a8

View File

@ -40,7 +40,8 @@ start() {
mkdir -p piddir
daemon --user root --pidfile $pidfile "$exec &>/dev/null & echo \$! > $pidfile"
retval=$?
cat pidfile
echo $pidfile
cat $pidfile
echo
[ $retval -eq 0 ] && touch $lockfile
return $retval