mirror of
https://github.com/YunoHost-Apps/pihole_ynh.git
synced 2024-09-03 20:05:58 +02:00
45 lines
1.8 KiB
TOML
45 lines
1.8 KiB
TOML
[reset_default_setupvars]
|
|
name = "Reset the config file and restore a default one."
|
|
command = "/bin/bash scripts/actions/reset_default_config \"setupVars.conf\""
|
|
# user = "root" # optional
|
|
# cwd = "/" # optional
|
|
# accepted_return_codes = [0, 1, 2, 3] # optional
|
|
accepted_return_codes = [0]
|
|
description = "Reset the config file setupVars.conf."
|
|
|
|
[reset_default_ftl]
|
|
name = "Reset the config file and restore a default one."
|
|
command = "/bin/bash scripts/actions/reset_default_config \"pihole-FTL.conf\""
|
|
# user = "root" # optional
|
|
# cwd = "/" # optional
|
|
# accepted_return_codes = [0, 1, 2, 3] # optional
|
|
accepted_return_codes = [0]
|
|
description = "Reset the config file pihole-FTL.conf."
|
|
|
|
[reset_default_nginx]
|
|
name = "Reset the nginx config for this app."
|
|
command = "/bin/bash scripts/actions/reset_default_system nginx"
|
|
# user = "root" # optional
|
|
# cwd = "/" # optional
|
|
# accepted_return_codes = [0, 1, 2, 3] # optional
|
|
accepted_return_codes = [0]
|
|
description = "Reset the nginx config for this app."
|
|
|
|
[reset_default_phpfpm]
|
|
name = "Reset the php-fpm config for this app."
|
|
command = "/bin/bash scripts/actions/reset_default_system phpfpm"
|
|
# user = "root" # optional
|
|
# cwd = "/" # optional
|
|
# accepted_return_codes = [0, 1, 2, 3] # optional
|
|
accepted_return_codes = [0]
|
|
description = "Reset the php-fpm config for this app."
|
|
|
|
|
|
[reset_default_app]
|
|
name = "Reset the app with a default configuration."
|
|
command = "/bin/bash scripts/actions/reset_default_app"
|
|
# user = "root" # optional
|
|
# cwd = "/" # optional
|
|
# accepted_return_codes = [0, 1, 2, 3] # optional
|
|
accepted_return_codes = [0]
|
|
description = "Reset the app to its default configuration to try to fix potential issues.<br>This action won't remove any data added to the app.<br>However, if you have modified any configuration, it will be overwritten."
|