ID:188101
 
I'm trying to set up a background process on my planetbyond account of the dynehost server, and that was working fine until about 8PM last night. Now I'm not even sure that the shell file I use to launch it is even running:

================================================
#!/bin/sh
if `killall -CHLD Plague_Wars >/dev/null 2>&1`
then
exit 0
else
date >/usr/local/psa/home/vhosts/planetbyond.com/byond/bin/ lastcron.txt
echo "DreamDaemon Died....starting"
export BYOND_SYSTEM=/usr/local/psa/home/vhosts/planetbyond.com/ byond/
export PATH=/usr/local/psa/home/vhosts/planetbyond.com/byond/ bin:$PATH
export LD_LIBRARY_PATH=/usr/local/psa/home/vhosts/planetbyond.com/ byond/bin:$LD_
export MANPATH=/usr/local/psa/home/vhosts/planetbyond.com/byond/ man:$MANPATH
cd /usr/local/psa/home/vhosts/planetbyond.com/byond/bin/games && DreamDaemon Pla
/dev/null 2>&1
fi
================================================

I tried 'ps -u server',

planetbyond 91103 0.0 0.1 1088 752 p0 Ss 2:08AM 0:00.02 -bash (bash)
planetbyond 92320 0.0 0.0 392 200 p0 R+ 2:18AM 0:00.00 ps -u server


and 'top',

91102 planetbyond 2 0 5292K 1496K select 0:00 0.00% 0.00% sshd
93045 planetbyond 28 0 2016K 1040K RUN 0:00 0.00% 0.00% top
91103 planetbyond 10 0 1088K 752K wait 0:00 0.00% 0.00% bash

but I can't find the processes or their PIDs. I imagine that the problem is probably with my script, but it worked fine before. /me shrugs. Any help is appreciated.