mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
ffa623c53d
No need to fork lvmetad when running under systemd. Also, the "lvmetad -R" support has been removed in lvm2 v2.02.98 so remove the ExecReload line that called it on "systemctl reload".
19 lines
350 B
SYSTEMD
19 lines
350 B
SYSTEMD
[Unit]
|
|
Description=LVM2 metadata daemon
|
|
Documentation=man:lvmetad(8)
|
|
Requires=lvm2-lvmetad.socket
|
|
After=lvm2-lvmetad.socket
|
|
DefaultDependencies=no
|
|
Conflicts=shutdown.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
NonBlocking=true
|
|
ExecStart=@sbindir@/lvmetad -f
|
|
Environment=SD_ACTIVATION=1
|
|
Restart=on-abort
|
|
PIDFile=@LVMETAD_PIDFILE@
|
|
|
|
[Install]
|
|
WantedBy=sysinit.target
|