Change dh param gen to function

This commit is contained in:
2023-09-10 11:25:55 +02:00
parent 96e6d0d3ba
commit 862929cd51
7 changed files with 11 additions and 8 deletions

View File

@ -212,7 +212,7 @@ echo "source <(semaphore completion bash)" >> /root/.bashrc
semaphore user add --admin --login ${SEMAPHORE_ADMIN} --name ${SEMAPHORE_ADMIN_DISPLAY_NAME} --email ${SEMAPHORE_ADMIN_EMAIL} --password ${SEMAPHORE_ADMIN_PASSWORD} --config /etc/semaphore/config.json
openssl dhparam -out /etc/nginx/dhparam.pem 4096
generate_dhparam
systemctl daemon-reload
systemctl enable --now semaphore.service