From fb815c4d8306b3a97e8a9bba289b29785c6a98d7 Mon Sep 17 00:00:00 2001 From: William Petit Date: Thu, 5 Dec 2019 13:19:54 +0100 Subject: [PATCH] Define gitea-kan configuration env vars --- debian/gitea-kan.service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/gitea-kan.service b/debian/gitea-kan.service index 3ef1a42..f2481b3 100644 --- a/debian/gitea-kan.service +++ b/debian/gitea-kan.service @@ -4,6 +4,8 @@ After=network-online.target [Service] Type=simple +Environment=GITEAKAN_HTTP_PUBDIR=/usr/share/gitea-kan/public +Environment=GITEAKAN_DATA_DBPATH=/var/lib/gitea-kan/data.db ExecStart=/usr/bin/gitea-kan -workdir /usr/share/gitea-kan -config /etc/gitea-kan/server.conf Restart=on-failure