mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
fea8abe56a
Systemd version 214 introduced new "RemoveOnStop" option for socket units to remove the socket/FIFO when the particular unit is stopped. Also https://bugzilla.redhat.com/show_bug.cgi?id=802748.
13 lines
224 B
SYSTEMD
13 lines
224 B
SYSTEMD
[Unit]
|
|
Description=LVM2 metadata daemon socket
|
|
Documentation=man:lvmetad(8)
|
|
DefaultDependencies=no
|
|
|
|
[Socket]
|
|
ListenStream=@DEFAULT_RUN_DIR@/lvmetad.socket
|
|
SocketMode=0600
|
|
RemoveOnStop=true
|
|
|
|
[Install]
|
|
WantedBy=sysinit.target
|