eoptasks: reread supervisor config before restarting hobo-agent
This commit is contained in:
parent
2ffccb15d6
commit
1afcd6aee1
|
@ -213,7 +213,7 @@ def command_window(args):
|
||||||
'combo.reload': '''sudo service combo reload; /bin/true''',
|
'combo.reload': '''sudo service combo reload; /bin/true''',
|
||||||
# hobo-agent.restart is the fastest way to get the number of threads
|
# hobo-agent.restart is the fastest way to get the number of threads
|
||||||
# used by celery under control :/
|
# 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 is useful to force shared theme to be updated.
|
||||||
'memcached.restart': '''sudo service memcached restart; /bin/true''',
|
'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''',
|
'restart.all': '''sudo systemctl restart authentic2-multitenant bijoe chrono combo corbo fargo hobo passerelle wcs; /bin/true''',
|
||||||
|
|
Loading…
Reference in New Issue