Posts: 11
Threads: 1
Joined: Feb 2006
Reputation:
0
I wanted to be able to at least restart the srcds, if not the entire system, every day to keep the memory usage down. I have no problems shutting it down, but automating the startup is proving to be a pain in the ass. I have tried using both crontabs and startup scripts, but the problem I have is that they start in a different directory than the srcds is located, so when it tries to load the binaries it won't load. Is there a way I can specify via the startup command what the loading directory should be?
Posts: 1,217
Threads: 42
Joined: Dec 2004
Reputation:
0
How is your cron setup? post it in here and i'll help you from there.
starting 9/24/2006 if your problem has been solved please edit your first post and add [solved] to the begining of the title. Thanks.
Posts: 11
Threads: 1
Joined: Feb 2006
Reputation:
0
I use fcron on Gentoo linux 2005.1. I was trying to use the screen startup script, but it would always fail. Then I tried taking out screen and just doing regular server, and it also failed. After lookinga t the logs, it became apparent that since the cron was starting in a different location, not the srcds folder, it wasn't finding the necessary binaries and folders needed to start the server. That's why I need to tell the script to start in a certain directory.
Posts: 11
Threads: 4
Joined: Jul 2005
Reputation:
0
It would be REALLY cool if you could not only start the processes on boot, but also auotmatically bind each srcds process to a seperate processor.
Server Admin-24/7 Absolute[K]arnage DUST
Absolute[K]arnage CAL Match server
Site admin-http://www.hostagedown.net