fixed order of variables initialization and syntax error in celerybeat init.d script
Merge pull request #1646 from precious/master

Celery generic-init.d/celerybeat script fixed