blob: f09759f954ce68640258fd002f3801de11d34151 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- gitea.service
+++ gitea.service
@@ -16,12 +16,12 @@
#LimitNOFILE=65535
RestartSec=2s
Type=simple
-User=git
-Group=git
+User=gitea
+Group=gitea
WorkingDirectory=/var/lib/gitea/
-ExecStart=/usr/local/bin/gitea web -c /etc/gitea/app.ini
+ExecStart=/usr/bin/gitea web -c /etc/gitea/app.ini
Restart=always
-Environment=USER=git HOME=/home/git GITEA_WORK_DIR=/var/lib/gitea
+Environment=USER=gitea HOME=/home/gitea GITEA_WORK_DIR=/var/lib/gitea
# If you want to bind Gitea to a port below 1024 uncomment
# the two values below
###
|