1 |
commit: b255b7ea7c7f52b40e3012daf5530d7c1152274f |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 25 21:14:28 2016 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 25 21:14:28 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b255b7ea |
7 |
|
8 |
www-apps/gitea: Fix initscript |
9 |
|
10 |
Package-Manager: portage-2.3.3 |
11 |
|
12 |
www-apps/gitea/files/gitea.initd | 5 +++-- |
13 |
1 file changed, 3 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/www-apps/gitea/files/gitea.initd b/www-apps/gitea/files/gitea.initd |
16 |
index a9aaac7..44cb542 100644 |
17 |
--- a/www-apps/gitea/files/gitea.initd |
18 |
+++ b/www-apps/gitea/files/gitea.initd |
19 |
@@ -5,13 +5,14 @@ |
20 |
|
21 |
description="Gitea, a self-hosted Git service" |
22 |
pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"} |
23 |
-user=${user:-${SVCNAME}} |
24 |
-group=${group:-${SVCNAME}} |
25 |
+user=${user:-git} |
26 |
+group=${group:-git} |
27 |
|
28 |
command="/usr/bin/gitea web" |
29 |
command_args="${command_args:--config /var/lib/gitea/conf/app.ini}" |
30 |
command_background="true" |
31 |
start_stop_daemon_args="--user ${user} --group ${group} \ |
32 |
+ -e GITEA_CUSTOM=/var/lib/gitea |
33 |
--stdout /var/log/${SVCNAME}/${SVCNAME}.log \ |
34 |
--stderr /var/log/${SVCNAME}/${SVCNAME}.log" |