@@ -3,6 +3,7 @@ base: freebsd-latest | |||||
steps: | steps: | ||||
- run: | - run: | ||||
- ASSUME_ALWAYS_YES=yes IGNORE_OSVERSION=yes pkg install py37-certbot python3 | - ASSUME_ALWAYS_YES=yes IGNORE_OSVERSION=yes pkg install py37-certbot python3 | ||||
- mkdir -p /cookiecutter | |||||
- mkdir -p /certbot/data | - mkdir -p /certbot/data | ||||
- mkdir -p /certbot/webroot | - mkdir -p /certbot/webroot | ||||
- mkdir -p /certbot/scripts | - mkdir -p /certbot/scripts | ||||
@@ -4,6 +4,7 @@ steps: | |||||
- run: | - run: | ||||
- ASSUME_ALWAYS_YES=yes IGNORE_OSVERSION=yes pkg install nginx | - ASSUME_ALWAYS_YES=yes IGNORE_OSVERSION=yes pkg install nginx | ||||
- mkdir -p /certbot/webroot | - mkdir -p /certbot/webroot | ||||
- mkdir -p /cookiecutter | |||||
- sysrc nginx_enable=YES | - sysrc nginx_enable=YES | ||||
- sysrc sshd_enable=NO | - sysrc sshd_enable=NO | ||||
- sysrc sendmail_enable=NONE | - sysrc sendmail_enable=NONE | ||||
@@ -6,9 +6,10 @@ steps: | |||||
/root/crontab_root ] | /root/crontab_root ] | ||||
- run: | - run: | ||||
- ASSUME_ALWAYS_YES=yes IGNORE_OSVERSION=yes pkg install nginx | - ASSUME_ALWAYS_YES=yes IGNORE_OSVERSION=yes pkg install nginx | ||||
- mkdir -p /usr/local/etc/letsencrypt | - mkdir -p /usr/local/etc/letsencrypt | ||||
- mkdir -p /certbot/webroot | - mkdir -p /certbot/webroot | ||||
- mkdir -p /cookiecutter | |||||
- crontab -u root /root/crontab_root | - crontab -u root /root/crontab_root | ||||
- rm -vf /root/crontab_root | - rm -vf /root/crontab_root | ||||