egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Start/shutdown eggdrop

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
Magnetronkip
Voice


Joined: 29 Jul 2006
Posts: 3

PostPosted: Sat Jul 29, 2006 9:17 am    Post subject: Start/shutdown eggdrop Reply with quote

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 ?
Back to top
View user's profile Send private message
r0t3n
Owner


Joined: 31 May 2005
Posts: 507
Location: UK

PostPosted: Sat Jul 29, 2006 9:38 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message MSN Messenger
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Mon Jul 31, 2006 11:18 am    Post subject: Reply with quote

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...
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber