diff --git a/eoptasks.py b/eoptasks.py index 43ae387..8b981b1 100755 --- a/eoptasks.py +++ b/eoptasks.py @@ -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''',