summaryrefslogtreecommitdiff
path: root/meta-google
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2022-02-08 03:03:32 +0300
committerWilliam A. Kennington III <wak@google.com>2022-02-10 03:49:44 +0300
commit37705e2e15e3f3b10cabcd5dd1f92ae4d6507667 (patch)
tree888ef04e19a289b86181929ae4267958f20a4327 /meta-google
parent4e02aff05d6aedd1758fefcca66d95aa5cd09870 (diff)
downloadopenbmc-37705e2e15e3f3b10cabcd5dd1f92ae4d6507667.tar.xz
meta-google: gbmc-bridge: DHCP should not retry after success
A powercycle will be required in order to kick off DHCP again. If the machine succeeds once, the power cycle service will be available for future attempts. Change-Id: I3b741250fd673bbe19056506f7287ef2ed734ea0 Signed-off-by: William A. Kennington III <wak@google.com>
Diffstat (limited to 'meta-google')
-rw-r--r--meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-dhcp.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-dhcp.service b/meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-dhcp.service
index 7eb0ce0756..8a5c711ac5 100644
--- a/meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-dhcp.service
+++ b/meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-dhcp.service
@@ -5,7 +5,7 @@ StartLimitIntervalSec=10
StartLimitBurst=3
[Service]
-Restart=always
+Restart=on-failure
RestartSec=5
ExecStart=/usr/bin/udhcpc6 -f -q -O fqdn -O bootfile_url -O bootfile_param -i gbmcbr -s /usr/libexec/gbmc-br-dhcp.sh