[Unit]
Description=Celery Beat Service
After=network.target

[Service]
Type=simple
User=$WHYIS_USER
Group=$WHYIS_USER
EnvironmentFile=/etc/conf.d/celery
WorkingDirectory=$WHYIS_APP_HOME/celery
ExecStart=/bin/sh -c '${CELERY_BIN} -A ${CELERY_APP} beat  \
		  --pidfile=${CELERYBEAT_PID_FILE} \
		  --logfile=${CELERYBEAT_LOG_FILE} --loglevel=${CELERYD_LOG_LEVEL}'
Restart=always

[Install]
WantedBy=multi-user.target