MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

RE: Page continue to load forever!



******    message to minivend-users from "Russ" <russ@khouse.org>     ******

It's not a tag.  It's a script.  Sorry, i was just indicating the beginning
and the end of the watchdog script.  Put the contents in a file with the
execute bit set.  Then, setup a file in init.d to run it.
su -m minivend -c "/home/minivend/mvend/bin/watchdog" &

Russ

-----Original Message-----
From: owner-minivend-users@minivend.com
[mailto:owner-minivend-users@minivend.com]On Behalf Of
mwatkins@ecentral.com
Sent: Wednesday, March 03, 1999 12:42 PM
To: minivend-users@minivend.com
Subject: RE: Page continue to load forever!


******    message to minivend-users from mwatkins@ecentral.com     ******


I am not familiar with the [watchdog] tag, where would you
implement this?  Is it part of all pages like
[include pages/menubar] etc.?

Also, regarding the original problem, the minivend server
doesn't die when the pages load forever.  If I hit the stop
button on the browser and continue on my way, it works fine.

Thanks again for all the great feedback!

Mark Watkins

mark@watkinsbrothers.com
Watkins Brothers Gallery


<snip>
******    message to minivend-users from "Russ" <russ@khouse.org>

******

I modified watchdog for minivend.



[watchdog]
arg1=1
while arg1=1
do
if ps -ex | grep `cat /home/minivend/mvend/etc/minivend.pid`
>
/dev/null ;
then > /dev/null
else
killall minivend
/home/minivend/mvend/bin/start_unix
date >> /home/minivend/mvend/mvrestart.log
echo "restarted" >> /home/minivend/mvend/mvrestart.log
echo "=================" >> /home/minivend/mvend/mvrestart.log
fi
sleep 3600
done
[/watchdog]

-----
Sent using MailStart.com ( http://MailStart.Com/welcome.html )
The FREE way to access your mailbox via any web browser, anywhere!

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to
Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: