actions.toml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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_dnsmasq]
  18. name = "Reset the config file and restore a default one."
  19. command = "/bin/bash scripts/actions/reset_default_config \"01-pihole.conf\""
  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 config file dnsmasq.d/01-pihole.conf."
  25. [reset_default_nginx]
  26. name = "Reset the nginx config for this app."
  27. command = "/bin/bash scripts/actions/reset_default_system nginx"
  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 nginx config for this app."
  33. [reset_default_phpfpm]
  34. name = "Reset the php-fpm config for this app."
  35. command = "/bin/bash scripts/actions/reset_default_system phpfpm"
  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 php-fpm config for this app."
  41. [reset_default_app]
  42. name = "Reset the app with a default configuration."
  43. command = "/bin/bash scripts/actions/reset_default_app"
  44. # user = "root" # optional
  45. # cwd = "/" # optional
  46. # accepted_return_codes = [0, 1, 2, 3] # optional
  47. accepted_return_codes = [0]
  48. 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."