update Debian install script

This commit is contained in:
Johann150 2021-03-27 01:21:38 +01:00
parent 61fc129dde
commit b4181ecd2f
No known key found for this signature in database
GPG key ID: 9EE6577A2A06F8F1

View file

@ -67,9 +67,7 @@ cp geminilogs /etc/logrotate.d/
echo "setting up content files..."
mkdir -p /srv/gemini/content
mkdir -p /srv/gemini/.certificates
openssl req -x509 -newkey rsa:4096 -keyout /srv/gemini/.certificates/key.rsa \
-out /srv/gemini/.certificates/cert.pem -days 3650 -nodes \
-subj "/CN=$(uname -n)" -addext "subjectAltName = DNS:$(uname -n)"
# agate will generate certificates on first run
echo "starting service..."
systemctl daemon-reload