This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
General support and discussion of Eggdrop bots.
Magnetronkip
Voice
Posts: 3 Joined: Sat Jul 29, 2006 9:14 am
Post
by Magnetronkip » Sat Jul 29, 2006 9:17 am
Is it possible to shutdown and start a eggdrop with php?
and a contrab, if it is how is the best way to do it ?
r0t3n
Owner
Posts: 507 Joined: Tue May 31, 2005 6:56 pm
Location: UK
Post
by r0t3n » Sat Jul 29, 2006 9:38 am
It is possible, you will need to create a php class to connect to the eggdrops partyline, then execute the commands through the php class.
Or you can create a php class to connect to the eggdrops shell, and use the kill and ./eggdrop etc ... as you cant connect to the eggdrops partyline to start it back up...
Hope this helps you
r0t3n @ #r0t3n @ Quakenet
De Kus
Revered One
Posts: 1361 Joined: Sun Dec 15, 2002 11:41 am
Location: Germany
Post
by De Kus » Mon Jul 31, 2006 11:18 am
its much easier than that. To start just use su -c (run as appropriate user) and to stop, just use kill -15 (sigterm),
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under
The MIT License
Love hurts, love strengthens...