mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +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
250 B
SYSTEMD
14 lines
250 B
SYSTEMD
[Unit]
|
|
Description=LVM2 metadata daemon socket
|
|
Documentation=man:lvmetad(8)
|
|
DefaultDependencies=no
|
|
Conflicts=shutdown.target
|
|
|
|
[Socket]
|
|
ListenStream=@DEFAULT_RUN_DIR@/lvmetad.socket
|
|
SocketMode=0600
|
|
RemoveOnStop=true
|
|
|
|
[Install]
|
|
WantedBy=sysinit.target
|