[CF-Devel] crossfire -detach command-line option
crossfire-devel at archives.real-time.com
crossfire-devel at archives.real-time.com
Wed Jun 23 23:19:34 CDT 2004
Kevin R. Bulgrien wrote:
>
I am having a very hard time getting the crossfire to
>
run as a service with a non-permissioned user while
>
using the -detach option.
>
>
The server runs when I do this:
>
>
# su -l games
>
$ /home/games/crossfire -d -log /home/games/var/log/crossfire.log
>
>>>
/home/games/var/log/crossfire 2>&1
>
>
>
This fails:
>
>
# su -l games
>
$ /home/games/crossfire -d -detach -log /home/games/var/log/crossfire.log
>
>>>
/home/games/var/log/crossfire 2>&1
>
>
>
Has something changed? Does anyone else have
>
trouble with this?
>
>
The goal is to have an rc script start the server as as a
>
daemon. Is there a prescribed method for doing so?
>
I am certain that -detach used to work.
>
Any log messages containing output?
Probably no one uses the -detach option. I think most servers (metalforge
among them) use one of the crossloop scripts. These will restart the server if
it goes down (crash, whatever).
There does seem some bug in using it, but I have to say that it would be a
very low priority bug (given easy workarounds), and the fix would probably be to
remove the -detach and related code.
_______________________________________________
crossfire-devel mailing list
crossfire-devel at lists.real-time.com
https://mailman.real-time.com/mailman/listinfo/crossfire-devel
More information about the crossfire
mailing list