mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
systemd: add conficting sockets
Since we are using "DefaultDependencies=no" we do not get automatic STOP job on socket connection - so automatically refuse connection on shutdown by adding this Conflict definition to socket Unit.
This commit is contained in:
parent
716199334c
commit
9546edeef9
@ -2,6 +2,7 @@
|
||||
Description=LVM2 metadata daemon socket
|
||||
Documentation=man:lvmetad(8)
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
|
||||
[Socket]
|
||||
ListenStream=@DEFAULT_RUN_DIR@/lvmetad.socket
|
||||
|
@ -2,6 +2,7 @@
|
||||
Description=LVM2 poll daemon socket
|
||||
Documentation=man:lvmpolld(8)
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
|
||||
[Socket]
|
||||
ListenStream=@DEFAULT_RUN_DIR@/lvmpolld.socket
|
||||
|
Loading…
Reference in New Issue
Block a user