Celery generic-init.d/celerybeat script fixed

fixed order of variables initialization and syntax error in celerybeat init.d script