No Description

config.json 640B

123456789101112131415161718192021222324252627282930313233
  1. {
  2. "hosts": [
  3. "3.80.177.208",
  4. "3.87.171.200"
  5. ],
  6. "packages": [ {
  7. "add": ["apache2","php5","libapache2-mod-php5"],
  8. "remove": ["nginx*", "php-fpm*"]
  9. }],
  10. "commands": [
  11. "a2dismod mpm_event && a2enmod php7.4",
  12. "rm -f /var/www/html/index.html",
  13. "service apache2 restart"
  14. ],
  15. "files": [{
  16. "name": "index.php",
  17. "path": "/var/www/html",
  18. "owner": "www-data",
  19. "group": "www-data",
  20. "mode": "0775",
  21. "action": "add",
  22. "service_notify": "apache2"
  23. },
  24. {
  25. "name": "foo.php",
  26. "path": "/var/www/html",
  27. "mode": "0775",
  28. "action": "add",
  29. "service_notify": "apache2"
  30. }
  31. ]
  32. }