mirror of
https://github.com/samsonjs/agate.git
synced 2026-03-25 09:05:50 +00:00
update Debian install script
This commit is contained in:
parent
61fc129dde
commit
b4181ecd2f
1 changed files with 1 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue