diff options
Diffstat (limited to 'www-servers/nginx-unit/files')
-rwxr-xr-x | www-servers/nginx-unit/files/nginx-unit.initd | 14 |
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 +} |