1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wordpress_ynh.git synced 2024-09-03 20:36:10 +02:00

Update actions.toml

This commit is contained in:
ericgaspar 2020-12-09 16:32:46 +01:00
parent cbe03aaf5a
commit cc14b0d3d7
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -7,27 +7,27 @@ description = "Change the public access of the app."
[public_private.arguments] [public_private.arguments]
[public_private.arguments.is_public] [public_private.arguments.is_public]
type = "boolean" type = "boolean"
ask = "Is it a public app ?" ask = "Is it a public app?"
default = true default = true
[reset_default_nginx] [reset_default_nginx]
name = "Reset the nginx config for this app." name = "Reset the NGINX config for this app."
command = "/bin/bash scripts/actions/reset_default_system nginx" command = "/bin/bash scripts/actions/reset_default_system nginx"
# user = "root" # optional # user = "root" # optional
# cwd = "/" # optional # cwd = "/" # optional
# accepted_return_codes = [0, 1, 2, 3] # optional # accepted_return_codes = [0, 1, 2, 3] # optional
accepted_return_codes = [0] accepted_return_codes = [0]
description = "Reset the nginx config for this app." description = "Reset the NGINX config for this app."
[reset_default_phpfpm] [reset_default_phpfpm]
name = "Reset the php-fpm config for this app." name = "Reset the PHP-FPM config for this app."
command = "/bin/bash scripts/actions/reset_default_system phpfpm" command = "/bin/bash scripts/actions/reset_default_system phpfpm"
# user = "root" # optional # user = "root" # optional
# cwd = "/" # optional # cwd = "/" # optional
# accepted_return_codes = [0, 1, 2, 3] # optional # accepted_return_codes = [0, 1, 2, 3] # optional
accepted_return_codes = [0] accepted_return_codes = [0]
description = "Reset the php-fpm config for this app." description = "Reset the PHP-FPM config for this app."
[reset_default_app] [reset_default_app]
@ -41,10 +41,10 @@ description = "Reset the app to its default configuration to try to fix potentia
[disable_maintenance] [disable_maintenance]
name = "Disable the maintenance mode of Wordpress" name = "Disable the maintenance mode of WordPress"
command = "/bin/bash scripts/actions/disable_maintenance" command = "/bin/bash scripts/actions/disable_maintenance"
# user = "root" # optional # user = "root" # optional
# cwd = "/" # optional # cwd = "/" # optional
# accepted_return_codes = [0, 1, 2, 3] # optional # accepted_return_codes = [0, 1, 2, 3] # optional
accepted_return_codes = [0] accepted_return_codes = [0]
description = "Disable the maintenance mode of Wordpress if you're stuck after an upgrade" description = "Disable the maintenance mode of WordPress if you're stuck after an upgrade"