=|HERO|=NBAGUI 发表于 2005-7-2 23:11:09

BF 2 LINUX服务器加入服务脚本

If you use SysV-style initscripts (eg. Fedora and Red Hat), you can use my boot scripts:
Rename the initscript to match the username you want to run the server as.
Use "service bf2 start" (replacing "bf2" with the username you created) and "service bf2 stop" to start and stop the server. After testing, use the chkconfig command to make this run at boot and shutdown time.
Check out the scripts' source to see how to combine su and screen to run the server as a detached daemon.

页: [1]
查看完整版本: BF 2 LINUX服务器加入服务脚本