server changes
This commit is contained in:
parent
d82f7f0bb2
commit
ad3f095f86
@ -19,5 +19,5 @@ manage-script-name = true
|
||||
[prod]
|
||||
ini=:uwsgi
|
||||
module=karumedia
|
||||
chdir=/srv/http/karumedia
|
||||
chdir=/srv/http/KaruMediaServer/api
|
||||
socket=/run/uwsgi/karumedia
|
||||
|
@ -12,7 +12,7 @@ import subprocess
|
||||
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
|
||||
movie_dir = "/media/kraam/Videod/Filmid/Nimed"
|
||||
movie_dir = "/home/arti/Videod/Filmid"
|
||||
|
||||
|
||||
imdb = Imdb()
|
||||
|
@ -1,11 +1,12 @@
|
||||
[uwsgi]
|
||||
logger = syslog:karu-media-web
|
||||
plugin = python
|
||||
socket = /run/uwsgi/karu-media
|
||||
chdir = /srv/karu-media
|
||||
#logger = syslog:karu-media-web
|
||||
#plugin = python
|
||||
socket = /run/uwsgi/karumedia-web
|
||||
chdir = /srv/http/KaruMediaServer
|
||||
module = web-interface
|
||||
callable = app
|
||||
processes = 1
|
||||
threads = 2
|
||||
master = true
|
||||
venv = venv
|
||||
need-app=true
|
||||
|
@ -6,8 +6,8 @@ from flask import render_template
|
||||
from flask import request
|
||||
from urllib.parse import quote_plus
|
||||
|
||||
movie_base = "/media/kraam/Videod/Filmid"
|
||||
movie_dir = movie_base+"/Nimed"
|
||||
movie_base = "/home/arti/Videod/Filmid"
|
||||
movie_dir = movie_base
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
|
1
web_interface.py
Symbolic link
1
web_interface.py
Symbolic link
@ -0,0 +1 @@
|
||||
web-interface.py
|
Loading…
Reference in New Issue
Block a user