Merge pull request #127 from joedwards32/readme-update-hooks
Example of overriding the pre-hook using Docker Volumes
This commit is contained in:
commit
1e3c0268be
1 changed files with 6 additions and 0 deletions
|
@ -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.
|
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
|
## 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`.
|
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`.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue