| View previous topic :: View next topic |
| Author |
Message |
Magnetronkip Voice
Joined: 29 Jul 2006 Posts: 3
|
Posted: Sat Jul 29, 2006 9:17 am Post subject: Start/shutdown eggdrop |
|
|
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 |
|
 |
r0t3n Owner
Joined: 31 May 2005 Posts: 507 Location: UK
|
Posted: Sat Jul 29, 2006 9:38 am Post subject: |
|
|
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 |
|
 |
De Kus Revered One

Joined: 15 Dec 2002 Posts: 1361 Location: Germany
|
Posted: Mon Jul 31, 2006 11:18 am Post subject: |
|
|
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 |
|
 |
|