summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2019-04-11 12:18:02 +0200
committerPeter Rajnoha <prajnoha@redhat.com>2019-04-11 12:18:02 +0200
commit25f231cf06c3938838a64f5b88834d831f45c1c2 (patch)
treeb7173b69ff215cc70efb9b97068f2def0dbfdca0 /scripts
parent0cab341e1d0e8f9089d3c62d3adbec24dfd5e124 (diff)
downloadlvm2-25f231cf06c3938838a64f5b88834d831f45c1c2.tar.gz
systemd: put back DefaultDependencies=no for lvmpolld socket unit
Previous commit 0cab341e1d0e8f9089d3c62d3adbec24dfd5e124 removed this by mistake - we have to keep the DefaultDependencies=no - the sockets.target is after sysinit.target.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lvm2_lvmpolld_systemd_red_hat.socket.in2
1 files changed, 2 insertions, 0 deletions
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