diff options
author | Adriana Kobylak <anoo@us.ibm.com> | 2016-08-08 10:51:30 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-08-08 18:34:42 +0000 |
commit | 1d600203ed583ed0648c14279ae68f1cae8f1bc0 (patch) | |
tree | d9e5f7590ed7f084202469421963461197680e4e /meta | |
parent | 5f07751332d733a14f46b721ae7e13f370289386 (diff) | |
download | talos-openbmc-1d600203ed583ed0648c14279ae68f1cae8f1bc0.tar.gz talos-openbmc-1d600203ed583ed0648c14279ae68f1cae8f1bc0.zip |
Make REST server process depend on networkd
Whenever networkd restarts, like when network configuration
changes, restart the rest server to avoid it getting hung
if there are pending REST transaction when the network
configuration changed. Use PartOf in the service file
because from the systemd documentation, this option is
limited to stopping and restarting of units, which is the
only desire at this time.
This is a temporary workound until a resolution is found,
see issues below.
Refer to openbmc/phosphor-rest-server#24
Refer to openbmc/openbmc#501
Change-Id: I6198583506d24e3a90baa6eaaf4f94e612c3d3a5
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Diffstat (limited to 'meta')
0 files changed, 0 insertions, 0 deletions