2024-05-24 20:32:42 +02:00
|
|
|
# Example config for kleinCommand
|
|
|
|
|
|
|
|
|
|
# Settings for kleinCommand
|
|
|
|
|
[settings]
|
|
|
|
|
server_name = "klein server"
|
|
|
|
|
|
|
|
|
|
# Variable overrides
|
|
|
|
|
[variables]
|
|
|
|
|
string1="example"
|
|
|
|
|
int1=1
|
|
|
|
|
|
|
|
|
|
# Custom commands
|
|
|
|
|
[custom_commands]
|
|
|
|
|
# Generate commands with kleinCommand or configure here
|
|
|
|
|
[[custom_commands.games]]
|
2024-05-24 23:13:10 +02:00
|
|
|
name="example"
|
2024-05-24 23:10:45 +02:00
|
|
|
status_command="docker ps --format '{{.Names}}'"
|
|
|
|
|
start_command="echo start"
|
2024-05-24 23:13:10 +02:00
|
|
|
stop_command="echo stop"
|
|
|
|
|
|
|
|
|
|
[[custom_commands.games]]
|
|
|
|
|
name="test"
|
|
|
|
|
status_command='curl -s -o NUL -w "%{http_code}" https://api.portfolio.dariusklein.nl/check'
|
|
|
|
|
start_command="echo start"
|
2024-05-24 23:10:45 +02:00
|
|
|
stop_command="echo stop"
|