diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-10 11:43:22 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-10 11:43:22 +0100 |
commit | 1d412f04b6e137f20cbe616b3203d2cbc8dfd5ad (patch) | |
tree | 37690cdf0c1532996a40987cf1d65e80d21886c4 /sys-fs/lvm2/files/dmeventd.initd-r3 | |
parent | 100b0ae24e9b0d0fb3071efea2078a3bdabe4e38 (diff) |
gentoo auto-resync : 10:05:2023 - 11:43:22
Diffstat (limited to 'sys-fs/lvm2/files/dmeventd.initd-r3')
-rw-r--r-- | sys-fs/lvm2/files/dmeventd.initd-r3 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sys-fs/lvm2/files/dmeventd.initd-r3 b/sys-fs/lvm2/files/dmeventd.initd-r3 new file mode 100644 index 000000000000..bc08c0a94f41 --- /dev/null +++ b/sys-fs/lvm2/files/dmeventd.initd-r3 @@ -0,0 +1,21 @@ +#!/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 +} |