I'm trying to write my own starting script for a counter-strike server, using standard init functions (daemon, status, killproc) Command "daemon --user hladmin hlds_ld cstrike &" seems to be the correct command to use for launching hlds_ld prog, with cstrike arg, under user hladmin identity, and to fork therafter. It works, even if i don't have a pretty resulting "OK". But the real problem comes from the unability of those functions to distinguish between several instances of the same program with different args. If i have another server running with a "daemon --user hladmin hlds_ld tfc &" command, killproc hlds_ld will kill my two servers. Is there a solution, or have i to do it manually ? -- Guillaume Rousse Murphy's law : If anything can go wrong, it will. O'Tool's commentary : Murphy was an optimist.
