You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-fs/lvm2/files/dmeventd.initd-2.02.184-r2

22 lines
595 B

#!/sbin/openrc-run
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
command=/sbin/dmeventd
command_args_foreground='-f'
extra_started_commands=reload
pidfile=/run/dmeventd.pid
# Control idle exit behavior of daemon
export DMEVENTD_IDLE_EXIT_TIMEOUT=${DMEVENTD_IDLE_EXIT_TIMEOUT:=-1}
depend() {
# As of .67-r1, we call ALL lvm start/stop scripts with --sysinit, that
# means dmeventd is NOT notified, as it cannot be safely running
after lvm device-mapper
}
reload() {
# TODO: this is not supported under supervisors
${command} -R
}