public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Pagano" <mpagano@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/nginx-unit/files/
Date: Wed,  1 Mar 2023 18:39:45 +0000 (UTC)	[thread overview]
Message-ID: <1677695980.7adaac98b3ed54c43ce0b4a1dee5f6f6a4f9dab9.mpagano@gentoo> (raw)

commit:     7adaac98b3ed54c43ce0b4a1dee5f6f6a4f9dab9
Author:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  1 18:39:23 2023 +0000
Commit:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
CommitDate: Wed Mar  1 18:39:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7adaac98

www-servers/nginx-unit/files:  Update conf.d and init.d files

Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org>

 www-servers/nginx-unit/files/nginx-unit.confd    |  1 -
 www-servers/nginx-unit/files/nginx-unit.initd-r1 | 15 ++++++++++++---
 2 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/www-servers/nginx-unit/files/nginx-unit.confd b/www-servers/nginx-unit/files/nginx-unit.confd
index eedf0ffbd685..b9ce82d332ce 100644
--- a/www-servers/nginx-unit/files/nginx-unit.confd
+++ b/www-servers/nginx-unit/files/nginx-unit.confd
@@ -18,7 +18,6 @@
 # Modules directory name
 #NXT_MODULES="/usr/lib64/nginx-unit"
 
-
 # State directory name
 #NXT_STATE="/var/lib/nginx-unit"
 

diff --git a/www-servers/nginx-unit/files/nginx-unit.initd-r1 b/www-servers/nginx-unit/files/nginx-unit.initd-r1
index a9ad47834899..e4ea45cdbe35 100644
--- a/www-servers/nginx-unit/files/nginx-unit.initd-r1
+++ b/www-servers/nginx-unit/files/nginx-unit.initd-r1
@@ -4,13 +4,22 @@
 
 command="/usr/sbin/unitd"
 pidfile="/run/nginx-unit.pid"
-user=${NXT_USER:-nginx-unit}
-group=${NXT_GROUP:-nginx-unit}
+NXT_USER=${NXT_USER:-nginx-unit}
+NXT_GROUP=${NXT_GROUP:-nginx-unit}
+NXT_CONTROL=${NXT_CONTROL:-unix:/run/nginx-unit.sock}
+NXT_PID=${NXT_PID:-/run/nginx-unit.pid}
+NXT_LOG=${NXT_LOG:-/var/log/nginx-unit}
+NXT_MODULES=${NXT_LOG:-/usr/lib64/nginx-unit}
+NXT_STATE=${NXT_STATE:-/var/lib/nginx-unit}
+NXT_TMP=${NXT_TMP:-/usr/tmp}
+
+command_args=" --user ${NXT_USER} --group ${NXT_GROUP} --control ${NXT_CONTROL} --pid ${NXT_PID} --log ${NXT_LOG} --modules ${NXT_MODULES} --state ${NXT_STATE} --tmp ${NXT_TMP}"
 
 depend() {
 	use dns logger netmount
 }
 
 start_pre() {
-	checkpath -d /var/lib/nginx-unit -o ${user}:${group} -m 0770
+    checkpath -d /var/lib/nginx-unit -o root:root -m 0770
 }
+


             reply	other threads:[~2023-03-01 18:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-01 18:39 Mike Pagano [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-02-27 23:20 [gentoo-commits] repo/gentoo:master commit in: www-servers/nginx-unit/files/ Mike Pagano
2023-03-01 20:15 Mike Pagano
2023-02-28 21:12 Mike Pagano
2021-12-03 17:25 Mike Pagano
2020-05-01 14:04 Joonas Niilola

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1677695980.7adaac98b3ed54c43ce0b4a1dee5f6f6a4f9dab9.mpagano@gentoo \
    --to=mpagano@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox