We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3aae7b5 commit f467b95Copy full SHA for f467b95
root/migrations/02-swag-old-certbot-paths
@@ -3,5 +3,5 @@
3
4
# Migrate existing confs with old paths from /etc/letsencrypt to /config/etc/letsencrypt
5
if [[ ! -f "/config/etc/letsencrypt/02-swag-old-certbot-paths" ]] && ls /config/etc/letsencrypt/renewal/*.conf >/dev/null 2>&1; then
6
- sed -i 's| /etc/letsencrypt|/config/etc/letsencrypt|' /config/etc/letsencrypt/renewal/*.conf && touch /config/etc/letsencrypt/02-swag-old-certbot-paths
+ sed -i 's| /etc/letsencrypt| /config/etc/letsencrypt|' /config/etc/letsencrypt/renewal/*.conf && touch /config/etc/letsencrypt/02-swag-old-certbot-paths
7
fi
0 commit comments