IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

4 роки тому
4 роки тому
123456789101112131415161718192021222324252627282930313233
  1. base: freebsd-latest
  2. steps:
  3. - run:
  4. - ASSUME_ALWAYS_YES=yes IGNORE_OSVERSION=yes pkg install python3 nginx py37-cookiecutter
  5. - copy:
  6. - [ ../files/cookiecutter.json,
  7. /root/cookiecutter.json ]
  8. - [ files/nginx.conf,
  9. /root/nginx.conf ]
  10. - [ ../files/crontab_root,
  11. /root/crontab_root ]
  12. - run:
  13. - mkdir -p /root/nginx_template/\{\{cookiecutter.directory_name\}\}
  14. - mv -v /root/nginx.conf /root/nginx_template/\{\{cookiecutter.directory_name\}\}/nginx.conf
  15. - mv -v /root/cookiecutter.json /root/nginx_template/cookiecutter.json
  16. - run:
  17. - cookiecutter --no-input /root/nginx_template
  18. - mv -v ./nginx_conf/nginx.conf /usr/local/etc/nginx/nginx.conf
  19. - ASSUME_ALWAYS_YES=yes IGNORE_OSVERSION=yes pkg remove python3 py37-cookiecutter
  20. - ASSUME_ALWAYS_YES=yes IGNORE_OSVERSION=yes pkg autoremove
  21. - rm -rvf /root/nginx_template
  22. - rm -rvf ./nginx_conf
  23. - mkdir -p /certbot/webroot
  24. - run:
  25. - sysrc nginx_enable=YES
  26. - crontab -u root /root/crontab_root
  27. - rm -v /root/crontab_root
  28. - run:
  29. - sysrc sshd_enable=NO
  30. - sysrc sendmail_enable=NONE
  31. - sysrc clear_tmp_enable=YES
  32. - sysrc syslogd_flags="-ss"