device-mapper-openrc/lvmpolld.initd
2023-05-05 07:19:36 +00:00

18 lines
348 B
Plaintext

#!/sbin/openrc-run
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
pidfile="/run/lvmpolld.pid"
command="/sbin/lvmpolld"
command_args="${LVMPOLLD_OPTS:=-p ${pidfile}}"
start_stop_daemon_args="--pidfile ${pidfile}"
depend() {
:
}
start_pre()
{
checkpath --directory /run/lvm || return 1
}