diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-28 04:02:51 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-28 04:02:51 +0000 |
commit | 87f37a073fb5c2e1f6ebc780e60cdbdd2c583860 (patch) | |
tree | 9872190e1841d9f126084652bf3b6b2687c6f1bb /www-servers/nginx-unit/files | |
parent | a87296ad796f00f3bba27339f6efe11b9a384e23 (diff) |
gentoo auto-resync : 28:02:2023 - 04:02:51
Diffstat (limited to 'www-servers/nginx-unit/files')
-rw-r--r-- | www-servers/nginx-unit/files/nginx-unit.initd-r1 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/www-servers/nginx-unit/files/nginx-unit.initd-r1 b/www-servers/nginx-unit/files/nginx-unit.initd-r1 new file mode 100644 index 000000000000..a9ad47834899 --- /dev/null +++ b/www-servers/nginx-unit/files/nginx-unit.initd-r1 @@ -0,0 +1,16 @@ +#!/sbin/openrc-run +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +command="/usr/sbin/unitd" +pidfile="/run/nginx-unit.pid" +user=${NXT_USER:-nginx-unit} +group=${NXT_GROUP:-nginx-unit} + +depend() { + use dns logger netmount +} + +start_pre() { + checkpath -d /var/lib/nginx-unit -o ${user}:${group} -m 0770 +} |