diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2018-12-13 00:05:49 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2018-12-13 00:05:49 +0100 |
commit | 9c3d5c48694db1018d50aa85acad434f47e5ed0b (patch) | |
tree | bee24b887c12d1abaa4d942525a6c1d304dd200d /biomedisa/supervisor | |
download | biomedisa-9c3d5c48694db1018d50aa85acad434f47e5ed0b.tar.gz biomedisa-9c3d5c48694db1018d50aa85acad434f47e5ed0b.tar.bz2 biomedisa-9c3d5c48694db1018d50aa85acad434f47e5ed0b.tar.xz biomedisa-9c3d5c48694db1018d50aa85acad434f47e5ed0b.zip |
Initial import
Diffstat (limited to 'biomedisa/supervisor')
-rw-r--r-- | biomedisa/supervisor/supervisord-cpu.conf | 27 | ||||
-rw-r--r-- | biomedisa/supervisor/supervisord-gpu.conf | 32 |
2 files changed, 59 insertions, 0 deletions
diff --git a/biomedisa/supervisor/supervisord-cpu.conf b/biomedisa/supervisor/supervisord-cpu.conf new file mode 100644 index 0000000..c942d7d --- /dev/null +++ b/biomedisa/supervisor/supervisord-cpu.conf @@ -0,0 +1,27 @@ +[supervisord] +nodaemon=true + +[program:slices] +command=rq worker -u http://redis rq worker slices +autorestart=true +exitcodes=0 + +[program:acwe] +command=rq worker -u http://redis rq worker acwe +autorestart=true +exitcodes=0 + +[program:cleanup] +command=rq worker -u http://redis rq worker cleanup +autorestart=true +exitcodes=0 + +[program:share_notification] +command=rq worker -u http://redis rq worker share_notification +autorestart=true +exitcodes=0 + +[program:stop_job] +command=rq worker -u http://redis rq worker stop_job +autorestart=true +exitcodes=0 diff --git a/biomedisa/supervisor/supervisord-gpu.conf b/biomedisa/supervisor/supervisord-gpu.conf new file mode 100644 index 0000000..94323d5 --- /dev/null +++ b/biomedisa/supervisor/supervisord-gpu.conf @@ -0,0 +1,32 @@ +[supervisord] +nodaemon=true + +[program:first] +command=rq worker -u http://redis rq worker first_queue +autorestart=true +exitcodes=0 + +[program:slices] +command=rq worker -u http://redis rq worker slices +autorestart=true +exitcodes=0 + +[program:acwe] +command=rq worker -u http://redis rq worker acwe +autorestart=true +exitcodes=0 + +[program:cleanup] +command=rq worker -u http://redis rq worker cleanup +autorestart=true +exitcodes=0 + +[program:share_notification] +command=rq worker -u http://redis rq worker share_notification +autorestart=true +exitcodes=0 + +[program:stop_job] +command=rq worker -u http://redis rq worker stop_job +autorestart=true +exitcodes=0 |