[cod] linux script to stop using pid?

Mr Hobgoblin mr.hobgoblin at gmail.com
Wed Mar 15 04:09:22 EST 2006


Jeff
This is how I do it using SCREEN.
Not sure who originally wrote the base script coz I inherited and amended
it . Its prolly not the cleanest way but it works and lets you run multiple
servers and as you can see can be easily modded to allow for
different modes.

Hope its of use

Hob


On 15/03/06, Jeff Anderson <jeffroanderson at comcast.net> wrote:
>
> I would like to be able to stop a server by pid instead of my usual
> method.  This would allow me to let others start/stop servers as well as
> run multiple servers on one machine.
>
> Does anyone have a good script that will start and save the pid, then a
> script to stop using that pid?
>
> Thank you!
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/cod/attachments/20060315/460fce96/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: codstart.sh
Type: application/x-sh
Size: 1758 bytes
Desc: not available
URL: <http://icculus.org/pipermail/cod/attachments/20060315/460fce96/attachment.sh>


More information about the Cod mailing list