commit - 974bef8260c81d896ec5fddba1d672da2eb24fb1
commit + acb259fd7ce493897a8f3278cec087f335c479c8
blob - ade89c3e563e100f5f58b70468a7217da0b03bbe
blob + 6835d82197a8e2e26102e43479f797c25507928f
--- deploy
+++ deploy
ssh runbsd 'set -xe
pkg_add -u
-pkg_add git lowdown
+pkg_add git lowdown php--%7.4
pkg_delete -a
mkdir -p -m 755 /var/www/htdocs/runbsd
+mkdir -p -m 755 /var/www/etc
mkdir -p -m 700 /etc/ssl/private
mkdir -p -m 755 /var/www/acme
mkdir -p -m 755 /var/www/bin
+cp /etc/resolv.conf /var/www/etc/
+cp /bin/sh /var/www/bin
+
echo '\'"$doas_conf"\'' > /etc/doas.conf
echo '\'"$relayd_conf"\'' > /etc/relayd.conf
echo '\'"$acme_client_conf"\'' > /etc/acme-client.conf
echo '\'"$httpd_conf"\'' > /etc/httpd.conf
-rcctl enable httpd
+rcctl enable httpd php74_fpm
httpd -n
rcctl restart httpd
echo '\'"$httpd_conf_with_tls"\'' > /etc/httpd.conf
httpd -n
-rcctl restart httpd
+rcctl restart httpd php74_fpm
rcctl enable relayd
relayd -n
rcctl restart relayd