actions.toml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. [reset_default_setupvars]
  2. name = "Reset the config file and restore a default one."
  3. command = "/bin/bash scripts/actions/reset_default_config \"setupVars.conf\""
  4. # user = "root" # optional
  5. # cwd = "/" # optional
  6. # accepted_return_codes = [0, 1, 2, 3] # optional
  7. accepted_return_codes = [0]
  8. description = "Reset the config file setupVars.conf."
  9. [reset_default_ftl]
  10. name = "Reset the config file and restore a default one."
  11. command = "/bin/bash scripts/actions/reset_default_config \"pihole-FTL.conf\""
  12. # user = "root" # optional
  13. # cwd = "/" # optional
  14. # accepted_return_codes = [0, 1, 2, 3] # optional
  15. accepted_return_codes = [0]
  16. description = "Reset the config file pihole-FTL.conf."
  17. [reset_default_nginx]
  18. name = "Reset the nginx config for this app."
  19. command = "/bin/bash scripts/actions/reset_default_system nginx"
  20. # user = "root" # optional
  21. # cwd = "/" # optional
  22. # accepted_return_codes = [0, 1, 2, 3] # optional
  23. accepted_return_codes = [0]
  24. description = "Reset the nginx config for this app."
  25. [reset_default_phpfpm]
  26. name = "Reset the php-fpm config for this app."
  27. command = "/bin/bash scripts/actions/reset_default_system phpfpm"
  28. # user = "root" # optional
  29. # cwd = "/" # optional
  30. # accepted_return_codes = [0, 1, 2, 3] # optional
  31. accepted_return_codes = [0]
  32. description = "Reset the php-fpm config for this app."
  33. [reset_default_app]
  34. name = "Reset the app with a default configuration."
  35. command = "/bin/bash scripts/actions/reset_default_app"
  36. # user = "root" # optional
  37. # cwd = "/" # optional
  38. # accepted_return_codes = [0, 1, 2, 3] # optional
  39. accepted_return_codes = [0]
  40. 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."