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.
14 lines
280 B
SYSTEMD
14 lines
280 B
SYSTEMD
[Unit]
|
|
Description=Device-mapper event daemon FIFOs
|
|
Documentation=man:dmeventd(8)
|
|
DefaultDependencies=no
|
|
|
|
[Socket]
|
|
ListenFIFO=@DEFAULT_DM_RUN_DIR@/dmeventd-server
|
|
ListenFIFO=@DEFAULT_DM_RUN_DIR@/dmeventd-client
|
|
SocketMode=0600
|
|
RemoveOnStop=true
|
|
|
|
[Install]
|
|
WantedBy=sockets.target
|