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: gitea:
workingdir: /var/lib/gitea workingdir: /var/lib/gitea
binfile: /var/lib/gitea/gitea
configfile: /var/lib/gitea/custom/conf/app.ini configfile: /var/lib/gitea/custom/conf/app.ini
user: git user: git
group: git group: git

View File

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