moved restart command to config to avoid ambiguity

1 parent a8faf243
Pipeline #2255 for cbaf36d3 skipped in 0 seconds
......@@ -40,6 +40,9 @@ ACMEDIR=$readconfig_return_value
readconfig openssl_bin
OPENSSL=$readconfig_return_value
readconfig http_restart
HTTPRESTART=$readconfig_return_value
# выводим дату (для лога)
date
......@@ -106,4 +109,4 @@ cat $ACMEDIR/intermediate.crt >> $ACMEDIR/site.crt
cat $ACMEDIR/root-ca.crt >> $ACMEDIR/site.crt
# дёргаем nginx
/usr/bin/env nginx -s reload
nginx -s reload
......@@ -20,3 +20,5 @@ acme_dir=/var/cache/acme
# openssl
openssl_bin=/usr/bin/openssl
http_restart=/usr/sbin/nginx -s reload
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!