summaryrefslogtreecommitdiff
path: root/www-servers/nginx-unit/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-21 19:11:44 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-21 19:11:44 +0100
commit47af801ff0ee4a4207b36e6917b1e496354940c0 (patch)
tree9420c678c469e86a72a75a5d89efaaa9208cb054 /www-servers/nginx-unit/files
parent6c7cfcb5a1624b262a84846285c2545c688af1a6 (diff)
gentoo resync : 21.07.2018
Diffstat (limited to 'www-servers/nginx-unit/files')
-rwxr-xr-xwww-servers/nginx-unit/files/nginx-unit.initd14
1 files changed, 14 insertions, 0 deletions
diff --git a/www-servers/nginx-unit/files/nginx-unit.initd b/www-servers/nginx-unit/files/nginx-unit.initd
new file mode 100755
index 000000000000..23720abcc1e1
--- /dev/null
+++ b/www-servers/nginx-unit/files/nginx-unit.initd
@@ -0,0 +1,14 @@
+#!/sbin/openrc-run
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+command="/usr/sbin/unitd"
+pidfile="/run/nginx-unit.pid"
+
+depend() {
+ use dns logger netmount
+}
+
+start_pre() {
+ checkpath -d /var/lib/nginx-unit -o root:root 0770
+}