1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/scripts/lvm2_lvmetad_systemd_red_hat.socket.in
Peter Rajnoha 38c2ccf7b8 Use DEFAULT_RUN_DIR instead of hardcoded value in lvmetad systemd units
and add ExecStartPost=vgscan to actually run the first scan that will
fill the metadata daemon with metadata information.
2012-02-23 13:31:49 +00:00

11 lines
175 B
SYSTEMD

[Unit]
Description=LVM2 metadata daemon socket
DefaultDependencies=no
[Socket]
ListenStream=@DEFAULT_RUN_DIR@/lvmetad.sock
SocketMode=0600
[Install]
WantedBy=sockets.target