summarylogtreecommitdiffstats
path: root/mediagoblin-celeryd.service
blob: 4100d211109b1b469e8fc6c4e4f5f12c7025947b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=Mediagoblin Celeryd

[Service]
User=mediagoblin
Group=mediagoblin
Type=simple
WorkingDirectory=/usr/share/webapps/mediagoblin/
Environment=MEDIAGOBLIN_CONFIG=/usr/share/webapps/mediagoblin/mediagoblin_local.ini \
            CELERY_CONFIG_MODULE=mediagoblin.init.celery.from_celery
ExecStart=/usr/share/webapps/mediagoblin/bin/celery worker \
              --logfile=/var/log/mediagoblin/celery.log \
              --loglevel=INFO
PIDFile=/var/run/mediagoblin/mediagoblin-celeryd.pid

[Install]
WantedBy=multi-user.target