This script is used eg. for the /snapshot-changes/opensuse/Tumbleweed route and was using the WSGIScriptAlias apache command. With the switch to nginx we need this more modern approach.
13 lines
352 B
Desktop File
13 lines
352 B
Desktop File
[Unit]
|
|
Description=Factory Package News Web
|
|
After=syslog.target
|
|
|
|
[Service]
|
|
ExecStart=/usr/bin/gunicorn -b 127.0.0.1:29001 factory-package-news-web:app -u factory-news -g nogroup -k gevent --chdir /var/lib/openqa/osc-plugin-factory/factory-package-news/ --log-syslog
|
|
Restart=always
|
|
Type=simple
|
|
StandardError=syslog
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|