Skip to content

Commit

Permalink
Merge pull request #127 from joedwards32/readme-update-hooks
Browse files Browse the repository at this point in the history
Example of overriding the pre-hook using Docker Volumes
  • Loading branch information
joedwards32 committed Aug 29, 2024
2 parents 4bfd461 + 5b761ee commit 1e3c026
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@ The container includes two scripts for executing custom actions:

When using a persient volume mounted at `/home/steam/cs2-dedicated/` you may edit these scripts to perform custom actions, such as enabling metamod.

Alternatively, you may have docker mount files from outside the container to override these files. E.g.:

```
-v /path/to/pre.sh:/home/steam/cs2-dedicated/pre.sh
```

## Overriding Game Mode Defaults

The default configurations for each game mode are stored in `/home/steam/cs2-dedicated/game/csgo/cfg/`. For example, the Competitive mode defaults are set by `gamemode_competitive.cfg`.
Expand Down

0 comments on commit 1e3c026

Please sign in to comment.