mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
b58160a191
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.
14 lines
248 B
SYSTEMD
14 lines
248 B
SYSTEMD
[Unit]
|
|
Description=LVM2 poll daemon socket
|
|
Documentation=man:lvmpolld(8)
|
|
DefaultDependencies=no
|
|
Conflicts=shutdown.target
|
|
|
|
[Socket]
|
|
ListenStream=@DEFAULT_RUN_DIR@/lvmpolld.socket
|
|
SocketMode=0600
|
|
RemoveOnStop=true
|
|
|
|
[Install]
|
|
WantedBy=sysinit.target
|