Skip to content

Commit 097e0d4

Browse files
committed
Update SSL renewal script to hot reload web service instead of restart
1 parent 233af41 commit 097e0d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deployment/scripts/renew-ssl.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ COMPOSE_FILES="-f ${DEPLOYMENT_DIR}/docker-compose.yml -f ${DEPLOYMENT_DIR}/dock
2020
# Renew SSL certificates
2121
docker compose ${COMPOSE_FILES} run certbot renew
2222

23-
# Restart web service to apply new certificates
24-
docker compose ${COMPOSE_FILES} restart web
23+
# Hot reload the web service to apply new certificates
24+
docker compose ${COMPOSE_FILES} kill -s SIGHUP web

0 commit comments

Comments
 (0)