diff --git a/scripts/lvm2_lvmetad_systemd_red_hat.socket.in b/scripts/lvm2_lvmetad_systemd_red_hat.socket.in index 32015376f..2663c7245 100644 --- a/scripts/lvm2_lvmetad_systemd_red_hat.socket.in +++ b/scripts/lvm2_lvmetad_systemd_red_hat.socket.in @@ -1,6 +1,8 @@ [Unit] Description=LVM2 metadata daemon socket Documentation=man:lvmetad(8) +DefaultDependencies=no +Conflicts=shutdown.target [Socket] ListenStream=@DEFAULT_RUN_DIR@/lvmetad.socket diff --git a/scripts/lvm2_lvmpolld_systemd_red_hat.socket.in b/scripts/lvm2_lvmpolld_systemd_red_hat.socket.in index 743669eec..0537d7f3a 100644 --- a/scripts/lvm2_lvmpolld_systemd_red_hat.socket.in +++ b/scripts/lvm2_lvmpolld_systemd_red_hat.socket.in @@ -1,6 +1,8 @@ [Unit] Description=LVM2 poll daemon socket Documentation=man:lvmpolld(8) +DefaultDependencies=no +Conflicts=shutdown.target [Socket] ListenStream=@DEFAULT_RUN_DIR@/lvmpolld.socket