summarylogtreecommitdiffstats
path: root/lvmetad.initd
blob: 7ae0ddc4906a49e07aad8a146a975d9bf1072246 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/openrc-run
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

pidfile="/run/lvmetad.pid"
command="/usr/bin/lvmetad"
command_args="${LVMETAD_OPTS:=-p ${pidfile}}"
start_stop_daemon_args="--pidfile ${pidfile}"

depend() {
	:
}

start_pre()
{
	checkpath --directory /run/lvm || return 1
}