Summary: | hlds init script not shutting down server | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Adam Bowers <adbowers> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | carpenike, contactme, lfpmix, mdhowle |
Priority: | High | ||
Version: | 2005.1 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | patch for multiserver init scripts |
Description
Adam Bowers
2006-02-24 06:39:54 UTC
re-worded the summary to better describe the bug Can you post your /etc/conf.d/hlds? If /var/run/hlds.pid doesn't exist, you need to create it by "touch /var/run/hlds.pid" and then "chown games:games /var/run/hlds.pid". I was thinking you had the same problem as I had. I was using "HLDS_MT=hlds_run" instead of "HLDS_MT=hlds_i686", which will correctly kill the process when stopped. *** Bug 134445 has been marked as a duplicate of this bug. *** It would appear that whenever you run /etc/init.d/hlds stop it will remove the /var/run/hlds.pid file altogether; it doesn't just empty it. So when you try to restart the server there's no file (/var/run/hlds.pid) for it to place it's current process in. *** Bug 168514 has been marked as a duplicate of this bug. *** Just add the -m otion to start-stop-deamon and it works. See here for details http://bugs.gentoo.org/show_bug.cgi?id=168514 Regards Bjoern Created attachment 131964 [details, diff]
patch for multiserver init scripts
I add to init script possibility run multiserver configuration.
This patch is applicable to files in portage tree (hlds.rc and hlds.confd).
well, I don't know if anyone's still using this but it's in there... |