summarylogtreecommitdiffstats
path: root/gitea.service.patch
blob: 878fceb75da69b198163e9869e334dc49458f93a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- gitea.service	2016-11-14 23:06:31.487951000 +0100
+++ gitea.service	2016-11-14 23:10:28.549514228 +0100
@@ -15,12 +15,12 @@
 #LimitMEMLOCK=infinity
 #LimitNOFILE=65535
 Type=simple
-User=git
-Group=git
-WorkingDirectory=/home/git/gitea
-ExecStart=/home/git/gitea/gitea web
+User=gitea
+Group=gitea
+WorkingDirectory=/var/lib/gitea
+ExecStart=/usr/bin/gitea web --config /var/lib/gitea/custom/conf/app.ini
 Restart=always
-Environment=USER=git HOME=/home/git
+Environment=USER=gitea HOME=/var/lib/gitea GITEA_CUSTOM=/var/lib/gitea/custom

 [Install]
 WantedBy=multi-user.target