1
I've finished installing a Team Fortress 2 server on my Debian server, and I'd like to create a bash script to start my server without having to run ./srcds_run -game tf -maxplayers 32
every time I want to start it. This file is located in /home/steam/orangebox
.
I've tried created a bash script (named run.sh
) like this:
#!/bin/bash
/home/steam/orangebox/./srcds_run -game tf -maxplayers 32
and I've done chmod -x run.sh
and tried to run it, but when I run it, I get bash: ./run.sh: Permission denied
returned.
What do I need to change to make this bash script work?
You mean
chmod +x run.sh
? – Bobby – 2012-08-16T15:07:57.683