diff options
author | Mike Pagano <mpagano@gentoo.org> | 2023-02-28 15:18:58 -0500 |
---|---|---|
committer | Mike Pagano <mpagano@gentoo.org> | 2023-02-28 15:18:58 -0500 |
commit | 1cb867db04d4061168de5d84bb2c8fed834b8274 (patch) | |
tree | d1cea144122541df8c90c63ddfa867a426629d98 /www-servers | |
parent | app-editors/emacs: Disable tests that fail with USE=jit (diff) | |
download | gentoo-1cb867db04d4061168de5d84bb2c8fed834b8274.tar.gz gentoo-1cb867db04d4061168de5d84bb2c8fed834b8274.tar.bz2 gentoo-1cb867db04d4061168de5d84bb2c8fed834b8274.zip |
www-servers/nginx-unit: Add conf.d file
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/nginx-unit/files/nginx-unit.confd | 27 | ||||
-rw-r--r-- | www-servers/nginx-unit/nginx-unit-1.29.0-r1.ebuild | 1 |
2 files changed, 28 insertions, 0 deletions
diff --git a/www-servers/nginx-unit/files/nginx-unit.confd b/www-servers/nginx-unit/files/nginx-unit.confd new file mode 100644 index 000000000000..2eae2c67538f --- /dev/null +++ b/www-servers/nginx-unit/files/nginx-unit.confd @@ -0,0 +1,27 @@ +# /etc/conf.d/nginx-unit + +# non-privileged processes to run as specified user +#NXT_USER="nobody" + +# non-privileged processes to run as specified group +# default: user's primary group +#NXT_GROUP="" + +# Address of the Control API Socket +#NXT_CONTROL="unix:/run/nginx-unit.sock" + +# PID file +#NXT_PID="/run/nginx-unit.pid" + +# Log File Name +#NXT_LOG="/var/log/nginx-unit" + +# Modules directory name +#NXT_MODULES="/usr/lib64/nginx-unit" + + +# State directory name +#NXT_STATE="/var/lib/nginx-unit" + +# tmp directory name +#NXT_TMP="/usr/tmp" 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 index 2b5fa3f6a04f..944eabe1322d 100644 --- a/www-servers/nginx-unit/nginx-unit-1.29.0-r1.ebuild +++ b/www-servers/nginx-unit/nginx-unit-1.29.0-r1.ebuild @@ -90,6 +90,7 @@ src_install() { diropts -m 0770 keepdir /var/lib/${PN} newinitd "${FILESDIR}/${PN}.initd-r1" ${PN} + newconfd "${FILESDIR}"/nginx-unit.confd nginx-unit systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service } |