Starting the Server at boot

crontab -e

@reboot /home/accountname/reboot.sh

Ctrl+x 

#!/bin/sh
cd /home/accountname/servers/hlds
export LD_LIBRARY_PATH=".:$LD_LIBRARY_PATH"
export SteamAppId=10 ;
./run_cs.sh > /dev/null 2>&1 &

#!/bin/sh
cd /home/accountname/servers/srcds
export LD_LIBRARY_PATH="${SRCDS_DIR}:${SRCDS_DIR}/bin:${LD_LIBRARY_PATH}"  
export SteamAppId=730 ;
./run_go.sh > /dev/null 2>&1 &


/home/$USER/servers/hlds/hlds_run -game cstrike -console -binary 
/home/$USER/servers/hlds/hlds_linux 
+ip 195.154.217.204 -port 27000 -pingboost 2 -pidfile startup.pid 
-noipx +log off -heapsize 512000 -zone 4096 +maxplayers 12 +map de_dust2


Note:For information about ports to be forwarded see the general SRCDS page.
Note:For Linux use ./srcds_run instead of srcds.

Classic Casual:

srcds -game csgo -console -usercon +game_type 0 +game_mode 0 +mapgroup mg_bomb +map de_dust

Classic Competitive:

srcds -game csgo -console -usercon +game_type 0 +game_mode 1 +mapgroup mg_bomb_se +map de_dust2_se 

Arms Race:

srcds -game csgo -console -usercon +game_type 1 +game_mode 0 +mapgroup mg_armsrace +map ar_shoots

Demolition:

srcds -game csgo -console -usercon +game_type 1 +game_mode 1 +mapgroup mg_demolition +map de_lake

Deathmatch:

srcds -game csgo -console -usercon +game_type 1 +game_mode 2 +mapgroup mg_allclassic +map de_dust
