mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-04 09:18:36 +03:00
dac3c36feb
and add ExecStartPost=vgscan to actually run the first scan that will fill the metadata daemon with metadata information.
17 lines
332 B
SYSTEMD
17 lines
332 B
SYSTEMD
[Unit]
|
|
Description=LVM2 metadata daemon
|
|
Requires=lvm2-lvmetad.socket
|
|
After=lvm2-lvmetad.socket
|
|
DefaultDependencies=no
|
|
Conflicts=shutdown.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
ExecStart=@sbindir@/lvmetad
|
|
ExecStartPost=@sbindir@/vgscan
|
|
ExecReload=@sbindir@/lvmetad -R
|
|
PIDFile=@DEFAULT_RUN_DIR@/lvmetad.pid
|
|
|
|
[Install]
|
|
WantedBy=sysinit.target
|