mediagoblin-setup/mediagoblin-celeryd.service

18 lines
588 B
Desktop File

# Set the WorkingDirectory and Environment values to match your environment.
[Unit]
Description=MediaGoblin Celery
After=rabbitmq-server.service
[Service]
User=mediagoblin
Group=mediagoblin
Type=simple
WorkingDirectory=/srv/media.cmxsl.org/mediagoblin
Environment=MEDIAGOBLIN_CONFIG=/srv/media.cmxsl.org/mediagoblin/mediagoblin.ini \
CELERY_CONFIG_MODULE=mediagoblin.init.celery.from_celery
ExecStart=/srv/media.cmxsl.org/mediagoblin/bin/celery worker \
--logfile=/var/log/mediagoblin/celery.log \
--loglevel=INFO
[Install]
WantedBy=multi-user.target