Commit 2ccb0a00 authored by Ivan Tyagov's avatar Ivan Tyagov

Use proper signals.

parent 54c494ab
...@@ -19,7 +19,7 @@ md5sum = 713db528880282d568278f09458d2aab ...@@ -19,7 +19,7 @@ md5sum = 713db528880282d568278f09458d2aab
[template-runner] [template-runner]
filename = instance-runner.cfg filename = instance-runner.cfg
md5sum = e2b66ef84bb67954ebf932a0443b0059 md5sum = ab366caca157bfa9d61307939038dab3
[template-runner-import-script] [template-runner-import-script]
filename = template/runner-import.sh.jinja2 filename = template/runner-import.sh.jinja2
......
...@@ -354,7 +354,7 @@ context = ...@@ -354,7 +354,7 @@ context =
<= logrotate-entry-base <= logrotate-entry-base
name = nginx name = nginx
log = $${basedirectory:log}/nginx.access.log $${basedirectory:log}/nginx.error.log log = $${basedirectory:log}/nginx.access.log $${basedirectory:log}/nginx.error.log
post = kill -HUP $(cat $${buildout:directory}/var/run/nginx.pid) post = kill -SIGUSR1 $(cat $${buildout:directory}/var/run/nginx.pid)
[httpd-parameters] [httpd-parameters]
path_pid = $${directory:run}/httpd.pid path_pid = $${directory:run}/httpd.pid
...@@ -796,7 +796,7 @@ wrapper-path = $${directory:services}/supervisord ...@@ -796,7 +796,7 @@ wrapper-path = $${directory:services}/supervisord
<= logrotate-entry-base <= logrotate-entry-base
name = supervisord name = supervisord
log = $${basedirectory:log}/slapproxy.log $${basedirectory:log}/supervisord.log $${basedirectory:log}/supervisord-errors.log log = $${basedirectory:log}/slapproxy.log $${basedirectory:log}/supervisord.log $${basedirectory:log}/supervisord-errors.log
post = kill -HUP $(cat $${buildout:directory}/var/run/supervisord.pid) post = kill -SIGUSR2 $(cat $${buildout:directory}/var/run/supervisord.pid)
[supervisord-promise] [supervisord-promise]
recipe = slapos.cookbook:check_port_listening recipe = slapos.cookbook:check_port_listening
......
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