mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
systemd: remove Install sections from socket-activated services
We always preferred and recommended socket activation for our services so remove the Install section in related .service units which are unused in this case and keep only the Install section in associated .socket units. Signed-off-by: Bastian Blank <waldi@debian.org>
This commit is contained in:
parent
7a394575fb
commit
58b763c99c
@ -1,5 +1,6 @@
|
||||
Version 2.02.176 -
|
||||
===================================
|
||||
Keep Install section only in lvm2-{lvmetad,lvmpolld}.socket systemd unit.
|
||||
liblvm: Fix segfault in lvm_pv_remove. (2.02.173)
|
||||
Do not allow storing VG metadata with LV without any segment.
|
||||
Fix printed message when thin snapshot was already merged.
|
||||
|
@ -1,5 +1,6 @@
|
||||
Version 1.02.145 -
|
||||
===================================
|
||||
Keep Install section only in dm-event.socket systemd unit.
|
||||
Issue a specific error with dmsetup status if device is unknown.
|
||||
Fix RT_LIBS reference in generated libdevmapper.pc for pkg-config
|
||||
|
||||
|
@ -13,6 +13,3 @@ ExecStart=@SBINDIR@/dmeventd -f
|
||||
Environment=SD_ACTIVATION=1
|
||||
PIDFile=@DMEVENTD_PIDFILE@
|
||||
OOMScoreAdjust=-1000
|
||||
|
||||
[Install]
|
||||
WantedBy=sysinit.target
|
||||
|
@ -13,6 +13,3 @@ ExecStart=@SBINDIR@/lvmetad -f
|
||||
Environment=SD_ACTIVATION=1
|
||||
Restart=on-abort
|
||||
PIDFile=@LVMETAD_PIDFILE@
|
||||
|
||||
[Install]
|
||||
WantedBy=sysinit.target
|
||||
|
@ -12,6 +12,3 @@ NonBlocking=true
|
||||
ExecStart=@SBINDIR@/lvmpolld -t 60 -f
|
||||
Environment=SD_ACTIVATION=1
|
||||
PIDFile=@LVMPOLLD_PIDFILE@
|
||||
|
||||
[Install]
|
||||
WantedBy=sysinit.target
|
||||
|
Loading…
Reference in New Issue
Block a user