ajay Posted May 30, 2010 Report Share Posted May 30, 2010 Hello everybody.I need a script please that can be run from root.WE NEED IT TO START/STOP/RESTART (./commander) an number of servers.We have admins that do this from root and it causes many problems.So we need something like.....at root run a script It needs to change user ...then..This will ask for start/stop/restartThen ask for which game type.....ie..cod1.cod2,cod3,cod4 etcThen which server to action the command.If somebody could help me with the main structure and maybe one example of a commandline like ie.... start cod2 europeI can use that as template for all the others.Hope that makes sense. Many Thanks________________________ Quote Link to comment Share on other sites More sharing options...
Seshomaru Samma Posted May 31, 2010 Report Share Posted May 31, 2010 >Hope that makes sensesorry , it doesn'twhat exactly do you want the script to do?you want it to stop some sort of service? which service ? on what computer ? what OS? from which OS?if you are using linux ,placing something in cron is probably your best option, but you will need to give us some more information here... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.