Define gitea-kan configuration env vars

This commit is contained in:
wpetit 2019-12-05 13:19:54 +01:00
parent 88a0a5bebe
commit fb815c4d83

View File

@ -4,6 +4,8 @@ After=network-online.target
[Service] [Service]
Type=simple 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 ExecStart=/usr/bin/gitea-kan -workdir /usr/share/gitea-kan -config /etc/gitea-kan/server.conf
Restart=on-failure Restart=on-failure