mirror of
git://sourceware.org/git/lvm2.git
synced 2025-02-24 17:57:48 +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
a35098b110
commit
b58160a191
@ -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…
x
Reference in New Issue
Block a user