Commit graph

59 commits

Author SHA1 Message Date
j
d7a9ca28cb also create /var/log/pandora 2016-06-09 12:48:42 +02:00
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
4fd865efeb fix pid 2016-03-08 13:18:35 +05:30
j
29204b6fb5 move gunicorn configuration from init script to config file 2016-03-07 14:25:24 +05:30
j
09ac3c32b0 update init scripts 2016-02-20 15:15:02 +05:30
j
9cc4225b86 tune nginx settings 2015-05-18 11:43:14 +02:00
j
dbf2ef78af add websocket service files 2015-04-28 23:07:36 +05:30
j
e7f83f674e add inital implementation for a websocket, disabled by default for now 2015-04-28 23:05:15 +05:30
j
608745e396 fix permissions in vm build script, add systemd service files, support debian/systemd in vm build script 2014-10-10 16:16:54 +02:00
j
bcfcfb56ca make sure daemons run with UTF-8 2014-01-18 12:03:25 +00:00
j
9ef6290a64 fix init.d script for pandora-cron 2013-11-04 14:08:48 +00:00
j
6883260484 bring init script in line with upstart script 2013-11-01 11:51:35 +01:00
j
b9bcb048d3 only send one remote ip to pan.do/ra (nginx setup) 2013-09-03 15:48:36 +02:00
j
dc1f4e5ae5 load pandora for 400 bad request, fixes #1840 2013-08-26 21:34:52 +02:00
j
3d8daf1ede add max-requets to gunicorn 2013-08-25 17:11:38 +02: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
3d6f15a271 compile as pandora user 2013-05-07 16:40:45 +00:00
j
03bebfd623 rename reload.sh to ctl, fixes #1487 2013-04-28 02:24:19 +00:00
j
2db7062770 update init.d scripts to match upstart scripts 2013-02-21 07:18:20 +00:00
j
9d64589368 also logrotate pandora-cron 2013-02-21 06:57:37 +00:00
j
0fe00fd106 dont run cron tasks in encoding queue, can only have one instance, cron jobs are executed several times otherwise 2013-02-21 06:55:49 +00:00
j
5728a96f74 https context 2013-02-09 19:35:11 +00:00
j
42ecad4199 add logroate script and install in vm 2013-02-09 10:42:21 +00:00
j
2cf3d3e7cb fix vm build script/nginx example config 2013-02-02 19:53:44 +05:30
j
c364520226 use custom error page in apache template 2012-11-16 01:32:13 +01:00
j
d658da92c8 update readme, dont use __PREFIX__ in apache/nginx config 2012-10-30 11:23:36 +01:00
j
a96125044d static/admin is populated via collectstatic now 2012-06-13 00:01:27 +02:00
j
c753688f41 fix queue for cronjob 2012-06-07 10:59:13 +02:00
j
079f62b104 chdir in start-stop-daemon 2012-06-05 16:22:33 +02:00
j
fd5f0c3c4c upgrade to django 1.4 2012-05-23 13:54:36 +00:00
j
1cad133fc3 add more video modes 2012-04-19 18:06:38 +02:00
j
1607e2a685 gunicorn 14 does not need settings to be passed 2012-03-09 13:35:00 +01:00
j
7f70f4ae82 add video/webm to apache example 2012-02-24 02:12:26 +05:30
j
6b50ce97a1 better apache configuration 2012-02-22 22:04:41 +05:30
j
75b95b5549 move error pages, fixes #557 2012-02-20 08:55:45 +00:00
j
f4fab78812 celeryd ontions changed 2012-01-19 11:00:07 +05:30
j
f37e390fcb create gzip version of js files 2012-01-02 18:23:46 +05:30
j
2a3c09d0ce update celery import to work with 2.2 2011-12-27 18:51:22 +05:30
j
0eeb3e223d update vm build. use title for new lists not id, also make first user admin 2011-11-08 18:05:26 +01:00
j
f9bc5b06be update README, move scripts to toplevel 2011-11-03 13:32:23 +01:00
j
fc1047bde1 run celery scheduler, compile pyc, pandora user might not have write permissions 2011-10-27 13:27:03 +02:00
j
910b8426dc run cron task in the morning 2011-10-27 13:06:13 +02:00
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
70c7f92e60 tasks is default, default response 2011-02-23 18:32:30 +01:00
j
c907d1c9c8 cleanup init.d 2011-02-23 13:41:43 +01:00
j
207594c7cd cleanup init.d 2011-02-23 13:25:57 +01:00
j
f5a2a29531 add init.d scripts for systems without upstart 2011-02-23 12:55:08 +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