summaryrefslogtreecommitdiff
blob: 23720abcc1e18684010ee2fa951f1c56e555cd07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
}