1 |
commit: 1cb867db04d4061168de5d84bb2c8fed834b8274 |
2 |
Author: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 28 20:18:58 2023 +0000 |
4 |
Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 28 20:18:58 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cb867db |
7 |
|
8 |
www-servers/nginx-unit: Add conf.d file |
9 |
|
10 |
Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org> |
11 |
|
12 |
www-servers/nginx-unit/files/nginx-unit.confd | 27 ++++++++++++++++++++++ |
13 |
www-servers/nginx-unit/nginx-unit-1.29.0-r1.ebuild | 1 + |
14 |
2 files changed, 28 insertions(+) |
15 |
|
16 |
diff --git a/www-servers/nginx-unit/files/nginx-unit.confd b/www-servers/nginx-unit/files/nginx-unit.confd |
17 |
new file mode 100644 |
18 |
index 000000000000..2eae2c67538f |
19 |
--- /dev/null |
20 |
+++ b/www-servers/nginx-unit/files/nginx-unit.confd |
21 |
@@ -0,0 +1,27 @@ |
22 |
+# /etc/conf.d/nginx-unit |
23 |
+ |
24 |
+# non-privileged processes to run as specified user |
25 |
+#NXT_USER="nobody" |
26 |
+ |
27 |
+# non-privileged processes to run as specified group |
28 |
+# default: user's primary group |
29 |
+#NXT_GROUP="" |
30 |
+ |
31 |
+# Address of the Control API Socket |
32 |
+#NXT_CONTROL="unix:/run/nginx-unit.sock" |
33 |
+ |
34 |
+# PID file |
35 |
+#NXT_PID="/run/nginx-unit.pid" |
36 |
+ |
37 |
+# Log File Name |
38 |
+#NXT_LOG="/var/log/nginx-unit" |
39 |
+ |
40 |
+# Modules directory name |
41 |
+#NXT_MODULES="/usr/lib64/nginx-unit" |
42 |
+ |
43 |
+ |
44 |
+# State directory name |
45 |
+#NXT_STATE="/var/lib/nginx-unit" |
46 |
+ |
47 |
+# tmp directory name |
48 |
+#NXT_TMP="/usr/tmp" |
49 |
|
50 |
diff --git a/www-servers/nginx-unit/nginx-unit-1.29.0-r1.ebuild b/www-servers/nginx-unit/nginx-unit-1.29.0-r1.ebuild |
51 |
index 2b5fa3f6a04f..944eabe1322d 100644 |
52 |
--- a/www-servers/nginx-unit/nginx-unit-1.29.0-r1.ebuild |
53 |
+++ b/www-servers/nginx-unit/nginx-unit-1.29.0-r1.ebuild |
54 |
@@ -90,6 +90,7 @@ src_install() { |
55 |
diropts -m 0770 |
56 |
keepdir /var/lib/${PN} |
57 |
newinitd "${FILESDIR}/${PN}.initd-r1" ${PN} |
58 |
+ newconfd "${FILESDIR}"/nginx-unit.confd nginx-unit |
59 |
systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service |
60 |
} |