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 - 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. Wipe DM_snapshot_cow signature without prompt in new LVs with blkid wiping.
Avoid exposing temporary devices when initializing raid metadata volumes. Avoid exposing temporary devices when initializing raid metadata volumes.
Add internal tags command to display any tags defined on the host. Add internal tags command to display any tags defined on the host.

View File

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