blob: 8ebc6a43a9d46b8c6b2fa2524884181040737dc0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- gitea.service
+++ gitea.service 2017-10-02 23:31:14.000000000 +0300
@@ -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 /etc/gitea/app.ini
Restart=always
-Environment=USER=git HOME=/home/git
+Environment=USER=gitea HOME=/var/lib/gitea
[Install]
WantedBy=multi-user.target
|