diff options
Diffstat (limited to 'pcr/mediagoblin/mediagoblin-celeryd.service')
-rw-r--r-- | pcr/mediagoblin/mediagoblin-celeryd.service | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pcr/mediagoblin/mediagoblin-celeryd.service b/pcr/mediagoblin/mediagoblin-celeryd.service new file mode 100644 index 000000000..4100d2111 --- /dev/null +++ b/pcr/mediagoblin/mediagoblin-celeryd.service @@ -0,0 +1,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 |