eoptasks: reread supervisor config before restarting hobo-agent

This commit is contained in:
Frédéric Péters 2020-05-15 11:21:36 +02:00
parent 2ffccb15d6
commit 1afcd6aee1
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ def command_window(args):
'combo.reload': '''sudo service combo reload; /bin/true''',
# hobo-agent.restart is the fastest way to get the number of threads
# used by celery under control :/
'hobo-agent.restart': '''test -e /etc/hobo-agent/settings.py && sudo supervisorctl restart hobo-agent''',
'hobo-agent.restart': '''test -e /etc/hobo-agent/settings.py && sudo supervisorctl reread && sudo supervisorctl restart hobo-agent''',
# memcached.restart is useful to force shared theme to be updated.
'memcached.restart': '''sudo service memcached restart; /bin/true''',
'restart.all': '''sudo systemctl restart authentic2-multitenant bijoe chrono combo corbo fargo hobo passerelle wcs; /bin/true''',