]> sourceware.org Git - lvm2.git/commit - WHATS_NEW_DM
Use SD_ACTIVATION env. var. in systemd units to better detect systemd in use.
authorPeter Rajnoha <prajnoha@redhat.com>
Wed, 14 Mar 2012 15:51:51 +0000 (15:51 +0000)
committerPeter Rajnoha <prajnoha@redhat.com>
Wed, 14 Mar 2012 15:51:51 +0000 (15:51 +0000)
commit93945bb6160b333a48b089977436356bfb5948e0
tree8cf8c7cfa967743310ce594785809b3dcbef485f
parent88bba90e6ef9f8bd3982584d3a91c13c870096dc
Use SD_ACTIVATION env. var. in systemd units to better detect systemd in use.

LISTEN_PID and LISTEN_FDS environment variables are defined only during systemd
"start" action. But we still need to know whether we're activated during
"reload" action as well - we use the reload action to call "dmeventd -R"/"lvmetad -R"
for statefull daemon restart. We can't use normal "restart" as that is simply
composed of "stop" and "start" and we would lose any state the daemon has.
WHATS_NEW_DM
daemons/dmeventd/dmeventd.c
libdaemon/server/daemon-server.c
scripts/dm_event_systemd_red_hat.service.in
scripts/lvm2_lvmetad_systemd_red_hat.service.in
This page took 0.033218 seconds and 5 git commands to generate.