add hobo-agent.restart command
This commit is contained in:
parent
a88d3e042f
commit
493ad8f5e7
|
@ -235,6 +235,9 @@ else:
|
|||
# combo.reload is useful to get a new {% start_timestamp %} after an
|
||||
# upgrade of publik-base-theme.
|
||||
'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''',
|
||||
}.get(args.cmd, args.cmd)
|
||||
|
||||
status_window = session.attached_window
|
||||
|
|
Loading…
Reference in New Issue