Commit Graph

13 Commits

Author SHA1 Message Date
7554b0c105 init: restart celery workers on 'reload' (fixes #2904)
Sending HUP to the parent of a family of celery workers causes the
parent to re-exec itself, spawning a new set of child workers without
terminating the old ones.

So instead we send TERM to the parent on 'reload', which cleans up the
children, and rely on systemd/upstart to respawn the whole family.
2016-03-17 10:32:58 +01:00
j
bcfcfb56ca make sure daemons run with UTF-8 2014-01-18 12:03:25 +00:00
j
d48075a635 pid 2013-08-23 18:53:01 +02:00
j
94b0936a14 use start-stop-deamon in init scripts 2013-08-23 18:47:45 +02:00
j
c753688f41 fix queue for cronjob 2012-06-07 10:59:13 +02:00
j
f4fab78812 celeryd ontions changed 2012-01-19 11:00:07 +05:30
j
2543fa4f78 add pid to upstart 2011-10-19 16:27:38 +02:00
j
574210685e use $USER 2011-03-24 11:39:07 +01:00
j
1f4d6e546f dont set task_id, only create poster if timeline exists, do not update poster in update_imdb 2010-12-25 19:15:19 +05:30
j
99528a73d4 $HOME for celery too 2010-12-01 21:34:38 +01:00
j
c55cdf3a73 update post after stream update 2010-12-01 01:00:33 +01:00
j
7013814af8 simplyfy celery queue deployment 2010-11-30 22:41:58 +01:00
j
a03817ae38 use celery 2010-06-25 13:53:57 +02:00