summaryrefslogtreecommitdiff
path: root/www-servers/nginx-unit/files/nginx-unit.initd
blob: 41165a659d93c7ea132bfa6929183ab6007c71b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/sbin/openrc-run
# Copyright 1999-2019 Gentoo Authors
# 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
}