|
@@ -25,8 +25,8 @@ if [[ $DISABLE_HTTPS -ne 1 ]]; then
|
|
$STAGING \
|
|
$STAGING \
|
|
--issue \
|
|
--issue \
|
|
--standalone \
|
|
--standalone \
|
|
- --pre-hook "if [[ -f /var/run/s6/services/nginx ]]; then s6-svc -d /var/run/s6/services/nginx; fi" \
|
|
|
|
- --post-hook "if [[ -f /var/run/s6/services/nginx ]]; then s6-svc -u /var/run/s6/services/nginx; fi" \
|
|
|
|
|
|
+ --pre-hook "if [[ -d /var/run/s6/services/nginx ]]; then s6-svc -d /var/run/s6/services/nginx; fi" \
|
|
|
|
+ --post-hook "if [[ -d /var/run/s6/services/nginx ]]; then s6-svc -u /var/run/s6/services/nginx; fi" \
|
|
-d $LETSENCRYPT_DOMAIN
|
|
-d $LETSENCRYPT_DOMAIN
|
|
rc=$?
|
|
rc=$?
|
|
if [[ $rc -eq 1 ]]; then
|
|
if [[ $rc -eq 1 ]]; then
|