Stanford-Online/class2go — pull request #815 by sefk (2012-09-24 22:50:54+00:00)
Title: Two hotfixes: fix rekelvin command (#808), restart celery on install (#806)

Two simple ones.

For celery change, tested on util1.dev, confirmed there that we are restarting now.

LOG FILE:
```
[2012-09-24T22:48:55+00:00] INFO: Processing service[celeryd] action enable (class2go-celery-worker::default line 46)
[2012-09-24T22:48:58+00:00] INFO: Processing service[celeryd] action restart (class2go-celery-worker::default line 46)
[2012-09-24T22:49:04+00:00] INFO: service[celeryd] restarted
```

SEPARATE WINDOW:
```
DEV ubuntu@util1:~$ ps -ef | grep celeryd
daemon 15227 1 0 Sep23 ? 00:16:57 /usr/bin/python /home/ubuntu/class2go/main/manage.py celeryd --time-limit=7200 --concurrency=2 -n w1.util1.dev.c2gops.com --loglevel=INFO --logfile=/var/log/celery/w1.log --pidfile=/var/run/celery/w1.pid
daemon 15236 15227 0 Sep23 ? 00:00:00 /usr/bin/python /home/ubuntu/class2go/main/manage.py celeryd --time-limit=7200 --concurrency=2 -n w1.util1.dev.c2gops.com --loglevel=INFO --logfile=/var/log/celery/w1.log --pidfile=/var/run/celery/w1.pid
ubuntu 22975 22868 0 22:45 pts/0 00:00:00 grep --color=auto celeryd

--- install in other window --

DEV ubuntu@util1:~$ ps -ef | grep celeryd
daemon 23821 1 17 22:49 ? 00:00:00 /usr/bin/python /home/ubuntu/class2go/main/manage.py celeryd --time-limit=7200 --concurrency=8 -n w1.util1.dev.c2gops.com --loglevel=INFO --logfile=/var/log/celery/w1.log --pidfile=/var/run/celery/w1.pid
daemon 23829 23821 0 22:49 ? 00:00:00 /usr/bin/python /home/ubuntu/class2go/main/manage.py celeryd --time-limit=7200 --concurrency=8 -n w1.util1.dev.c2gops.com --loglevel=INFO --logfile=/var/log/celery/w1.log --pidfile=/var/run/celery/w1.pid
ubuntu 23896 22868 0 22:49 pts/0 00:00:00 grep --color=auto celeryd
```