Commit 23a386d6 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

html5as: add post script to nginx logrotate

parent aaef7180
Pipeline #14255 failed with stage
......@@ -21,7 +21,7 @@ md5sum = 8a1383f7508a911c0c2d81445b5d4250
[instance_html5as]
_update_hash_filename_ = instance_html5as.cfg.in
md5sum = 44a0f9f0a7682e800e56d8ece60b46b4
md5sum = e87cc774fa9bba955ba8700dda9f438d
[template_nginx_conf]
_update_hash_filename_ = templates/nginx_conf.in
......
......@@ -182,6 +182,7 @@ monitor-httpd-port = 8197
<= logrotate-entry-base
name = nginx
log = ${html5as:path_access_log} ${html5as:path_error_log}
post = kill -USR1 $(cat ${html5as:path_pid})
# Publish nginx address
[publish-connection-information]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment