Squashed 'frontend/' content from commit 63375d1

git-subtree-dir: frontend
git-subtree-split: 63375d198b2160a3a5fc4427efe888f6c37bd92f
This commit is contained in:
2026-04-27 22:43:56 +02:00
commit 06316e1715
318 changed files with 24246 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/bin/sh
if [ $DOMAIN -a $EMAIL ]; then
if [ ! -e /usr/local/apache2/.configured ]; then
cat >> /usr/local/apache2/conf/httpd.conf <<EOF
ServerName $DOMAIN
ServerAdmin $EMAIL
<VirtualHost *:80>
ServerName $DOMAIN
</VirtualHost>
EOF
httpd -k start
certbot --apache -n --keep -d $DOMAIN -m $EMAIL
httpd -k stop
touch /usr/local/apache2/.configured
fi
fi
httpd-foreground