{"id":26375653,"url":"https://github.com/stevenbenner/srcds-service","last_synced_at":"2025-03-17T02:18:09.891Z","repository":{"id":4009712,"uuid":"5108195","full_name":"stevenbenner/srcds-service","owner":"stevenbenner","description":" :godmode: Run SRCDS as a service on Linux.","archived":false,"fork":false,"pushed_at":"2012-09-07T06:50:48.000Z","size":104,"stargazers_count":33,"open_issues_count":0,"forks_count":13,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-18T14:16:11.522Z","etag":null,"topics":["linux","shell","srcds"],"latest_commit_sha":null,"homepage":"https://stevenbenner.com/2010/11/how-to-set-up-a-team-fortress-2-dedicated-server-on-ubuntu/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"mateogianolio/openblog","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stevenbenner.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-07-19T09:54:48.000Z","updated_at":"2024-03-11T20:56:56.000Z","dependencies_parsed_at":"2022-09-16T04:53:31.680Z","dependency_job_id":null,"html_url":"https://github.com/stevenbenner/srcds-service","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevenbenner%2Fsrcds-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevenbenner%2Fsrcds-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevenbenner%2Fsrcds-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevenbenner%2Fsrcds-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stevenbenner","download_url":"https://codeload.github.com/stevenbenner/srcds-service/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243960615,"owners_count":20375106,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["linux","shell","srcds"],"created_at":"2025-03-17T02:18:09.438Z","updated_at":"2025-03-17T02:18:09.879Z","avatar_url":"https://github.com/stevenbenner.png","language":"Shell","readme":"# SRCDS Linux Service\n\nThis is a shell script that will let you run the Source Dedicated Server (SRCDS) from Valve as a service on your Linux machine.\n\n## Requirements\n\n* SRCDS\n* Screen (Terminal multiplexer utility. See: [GNU Screen](https://www.gnu.org/software/screen/))\n* Your favorite text editor\n\n## Installation\n\n1. Create a file named `srcds` in your `/etc/init.d` directory.\n2. Paste the contents of the srcds.sh file from this repository in that file.\n3. Replace `\u003cnewuser\u003e` with the user you want to run the service under\n4. Adjust the `PARAMS` string for the game you want to run.\n5. Set the file permissions to be executable (`chmod a+x /etc/init.d/srcds`).\n\n## Usage\n\nYou can manage the service just like any other init.d service. With `start`, `restart`, `stop`, and `status` commands.\n\n* Start SRCDS: `/etc/init.d/srcds start`\n* Restart SRCDS: `/etc/init.d/srcds restart`\n* Stop SRCDS: `/etc/init.d/srcds stop`\n* Get SRCDS status: `/etc/init.d/srcds status`\n\n## Credits\n\nThis was originally created by FreeNerd and posted on his [Linux SRCDS server](http://www.freenerd.net/index.php?title=Linux_SRCDS_server) article.\n\nI have modified at and updated it to suit my needs and have added several fixes provided by others in the discussion from my blog post about running a Team Fortress 2 server.\n\nYou can find the discussion here:\n\nhttp://stevenbenner.com/2010/11/how-to-set-up-a-team-fortress-2-dedicated-server-on-ubuntu/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevenbenner%2Fsrcds-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstevenbenner%2Fsrcds-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevenbenner%2Fsrcds-service/lists"}