mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
Add "ExecReload" to dm-event.service for systemd to reload dmeventd properly.
Normally, restart simply means "stop and start" for systemd. However, if we're installing new versions of the dmeventd binary/libdevmapper, we need to restart dmeventd. This fails if we have some devices monitored - we need to call "dmeventd -R" instead. The "ExecReload" did not work quite well in some old versions of systemd, systemd assumed that only the configuration is reloaded on "ExecReload", not the whole binary itself so it lost track of dmeventd daemon (it lost new dmeventd PID). This is fixed and seems to be working fine now with recent versions of dmeventd.
This commit is contained in:
parent
d39f58ac2e
commit
2d603339f1
@ -1,5 +1,6 @@
|
||||
Version 1.02.68 -
|
||||
==================================
|
||||
Add ExecReload to dm-event.service for systemd to reload dmeventd properly.
|
||||
Add dm_config_tree_find_str_allow_empty.
|
||||
Fix compile-time pool memory locking with DEBUG_MEM.
|
||||
Fix valgrind error reports in free of pool chunks with DEBUG_MEM.
|
||||
|
@ -7,6 +7,7 @@ DefaultDependencies=no
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=@sbindir@/dmeventd
|
||||
ExecReload=@sbindir@/dmeventd -R
|
||||
PIDFile=@DMEVENTD_PIDFILE@
|
||||
OOMScoreAdjust=-1000
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user