neddit

the frontend of the frontpage of the internet  https://neddit.ce9e.org
git clone https://git.ce9e.org/neddit.git

commit
09acf28b1153c492447ca2e622958c26079d3f79
parent
6d199f7aaf7db5a83cc2826965cf40fdb4c537a2
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2020-08-04 18:40
tweak gunicorn

Diffstat

M deploy/PKGBUILD 2 +-
M deploy/neddit.service 2 +-

2 files changed, 2 insertions, 2 deletions


diff --git a/deploy/PKGBUILD b/deploy/PKGBUILD

@@ -3,7 +3,7 @@ pkgdesc='the frontend of the frontpage of the internet'
    3     3 arch=('amd64')
    4     4 url='https://github.com/xi/neddit'
    5     5 license='MIT'
    6    -1 depends=('gunicorn3' 'python3-requests' 'python3-jinja2' 'python3-flask')
   -1     6 depends=('gunicorn3' 'python3-requests' 'python3-jinja2' 'python3-flask' 'python3-gevent')
    7     7 
    8     8 package() {
    9     9 	install -D -m 644 neddit.service "$pkgdir/lib/systemd/system/neddit.service"

diff --git a/deploy/neddit.service b/deploy/neddit.service

@@ -4,7 +4,7 @@ After=network.target
    4     4 
    5     5 [Service]
    6     6 Type=simple
    7    -1 ExecStart=gunicorn3 -w 2 neddit:app -b localhost:8006
   -1     7 ExecStart=gunicorn3 -w 3 -k gevent neddit:app -b localhost:8006
    8     8 Restart=always
    9     9 WorkingDirectory=/var/www/neddit/
   10    10 DynamicUser=true