From ea4959dc446a13bf2724a39e2777b5d5b0f91db8 Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Sat, 21 May 2022 16:02:15 +0200 Subject: [PATCH] Replace gunicorn by uvicorn --- PKGBUILD | 2 +- nummi.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index bfecd03..d21c7b4 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,6 +1,6 @@ pkgname=nummi pkgver=0.1.0 -pkgrel=9 +pkgrel=10 pkgdesc="Web-based accounting interface" arch=("any") url="https://git.edgarpierre.fr/edpibu/nummi" diff --git a/nummi.service b/nummi.service index 15fc3aa..57a7db3 100644 --- a/nummi.service +++ b/nummi.service @@ -9,7 +9,7 @@ User=nummi Group=nummi RuntimeDirectory=nummi WorkingDirectory=/usr/share/webapps/nummi -ExecStart=/usr/bin/gunicorn nummi.asgi:application +ExecStart=/usr/bin/uvicorn nummi.asgi:application ExecReload=/bin/kill -s HUP $MAINPID KillMode=mixed TimeoutStopSec=5