Merge "Restart apache and celeryd on upgrade"

This commit is contained in:
Zuul 2018-07-21 15:00:53 +00:00 committed by Gerrit Code Review
commit 03f98dff41
1 changed files with 1 additions and 1 deletions

View File

@ -90,10 +90,10 @@ class askbot::site::config (
refreshonly => true,
}
# TODO: end of chain: notify httpd, celeryd
exec { 'askbot-migrate':
cwd => "${site_root}/config",
command => '/usr/askbot-env/bin/python manage.py migrate --noinput',
notify => [Service['askbot-celeryd'], Service['apache2'] ],
require => Exec['askbot-syncdb'],
subscribe => [Git['askbot'], File["${site_root}/config/settings.py"] ],
refreshonly => true,