Use gitea instead of git user

This commit is contained in:
Vladan Popovic 2019-08-01 18:16:23 +02:00
parent e06e93736a
commit a3b6d33d51

View file

@ -10,7 +10,7 @@ After=network.target
#Requires=redis.service #Requires=redis.service
[Service] [Service]
User=git User=gitea
Group=www-data Group=www-data
WorkingDirectory=/var/lib/gitea WorkingDirectory=/var/lib/gitea
Environment=USER=git HOME=/var/lib/gitea GITEA_WORK_DIR=/var/lib/gitea Environment=USER=git HOME=/var/lib/gitea GITEA_WORK_DIR=/var/lib/gitea