mediagoblin-setup/mediagoblin-paster.service

17 lines
503 B
Desktop File

# Set the WorkingDirectory and Environment values to match your environment.
[Unit]
Description=Mediagoblin
[Service]
Type=simple
User=mediagoblin
Group=mediagoblin
Environment=CELERY_ALWAYS_EAGER=false
WorkingDirectory=/srv/media.cmxsl.org/mediagoblin
ExecStart=/srv/media.cmxsl.org/mediagoblin/bin/paster serve \
/srv/media.cmxsl.org/mediagoblin/paste.ini \
--log-file=/var/log/mediagoblin/mediagoblin.log \
--server-name=main
[Install]
WantedBy=multi-user.target