updated gitea state

This commit is contained in:
Paul 2022-01-02 18:13:17 +01:00
parent 9d25a7ffc1
commit 32c6ad1ab0
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
---
gitea:
workingdir: /var/lib/gitea
binfile: /var/lib/gitea/gitea
configfile: /var/lib/gitea/custom/conf/app.ini
user: git
group: git

View File

@ -10,7 +10,7 @@ Type=simple
User={{ gitea.user }}
Group={{ gitea.user }}
WorkingDirectory={{ gitea.workingdir }}
ExecStart={{ gitea.workingdir }}/gitea web
ExecStart={{ gitea.binfile }} -w {{ gitea.workingdir }} web
Restart=always
Environment=USER={{ gitea.user }} HOME={{ gitea.workingdir }}