12-10-2009, 06:54 PM
2 ways to do this:
either write a small shell script starting the server with the LD_PRELOAD set, e.g.:
then start this script inside your screen (screen -A -m -d -S css /path/to/your/script) - don't forget to make the script executable by running chmod +x /path/to/your/script
or you can write the LD_PRELOAD into your screenrc. look at the screen man page how to do that. then you simply start your server inside a screen using that screenrc without the need for any extra LD_PRELOAD.
either write a small shell script starting the server with the LD_PRELOAD set, e.g.:
Code:
#!/bin/bash
LD_PRELOAD=/usr/share/hl-booster/boost.so ./srcds_run -game cstrike +ip <server ip> +port 2701 -secure +map de_dust2 -tickrate 66 +fps_max 0 +maxplayers 26
or you can write the LD_PRELOAD into your screenrc. look at the screen man page how to do that. then you simply start your server inside a screen using that screenrc without the need for any extra LD_PRELOAD.
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!