1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

systemd: cleanup for lvmetad systemd unit

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".
This commit is contained in:
Peter Rajnoha 2014-02-10 16:18:48 +01:00
parent 38457e1be9
commit ffa623c53d
2 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,7 @@
Version 2.02.106 -
====================================
Remove ExecReload from lvmetad systemd unit: lvmetad -R undefined. (2.02.98)
Do not fork lvmetad if running under systemd.
Wipe DM_snapshot_cow signature without prompt in new LVs with blkid wiping.
Avoid exposing temporary devices when initializing raid metadata volumes.
Add internal tags command to display any tags defined on the host.

View File

@ -7,10 +7,9 @@ DefaultDependencies=no
Conflicts=shutdown.target
[Service]
Type=forking
Type=simple
NonBlocking=true
ExecStart=@sbindir@/lvmetad
ExecReload=@sbindir@/lvmetad -R
ExecStart=@sbindir@/lvmetad -f
Environment=SD_ACTIVATION=1
Restart=on-abort
PIDFile=@LVMETAD_PIDFILE@