wsgi app
This commit is contained in:
parent
2863c6ca8a
commit
049531ff5f
@ -45,7 +45,7 @@ def list():
|
||||
for i in sorted(os.listdir(_dir), reverse=True):
|
||||
if not digits_re.match(i):
|
||||
continue
|
||||
ret = ret + '<a href="/diff/%s">%s</a>'%(i,i)
|
||||
ret = ret + '<a href="diff/%s">%s</a>'%(i,i)
|
||||
if i == current:
|
||||
ret = ret + " <--"
|
||||
ret = ret + '<br/>'
|
||||
@ -98,4 +98,6 @@ if __name__ == '__main__':
|
||||
(options, args) = parser.parse_args()
|
||||
app.run(debug=options.debug, host=options.host)
|
||||
|
||||
application = app
|
||||
|
||||
# vim: sw=4 et
|
||||
|
10
factory-package-news.conf
Normal file
10
factory-package-news.conf
Normal file
@ -0,0 +1,10 @@
|
||||
WSGIDaemonProcess factory-package-news user=FIXME group=FIXME display-name=%{GROUP}
|
||||
WSGIProcessGroup factory-package-news
|
||||
|
||||
WSGIScriptAlias /factory-package-news FIXME/osc-plugin-factory/factory-package-news-web.py
|
||||
|
||||
<Directory FIXME/osc-plugin-factory/slepkgstats>
|
||||
<Files factory-package-news-web.py>
|
||||
Require all granted
|
||||
</Files>
|
||||
</Directory>
|
Loading…
x
Reference in New Issue
Block a user