diff --git a/roles/service-nginx/templates/ssl_certs.cron.j2 b/roles/service-nginx/templates/ssl_certs.cron.j2 index a2c97fa..e7425c1 100644 --- a/roles/service-nginx/templates/ssl_certs.cron.j2 +++ b/roles/service-nginx/templates/ssl_certs.cron.j2 @@ -17,4 +17,4 @@ done chown -R www-data:admin $LOCAL_DIR #restart -systemctl reload nginx.service +systemctl reload nginx.service || systemctl start nginx.service