Change service dependencies to network-online.target

Use network-online.target rather than network.target for
patching services dependencies. This is to ensure that
all interfaces, such as LAG for example, are up before
the patch services attempt any communications to esnure
there are no unrecoverable disruptions.

Change-Id: I7a20e6faaa6c9fffee0636cc5cb474b98dc88253
Closes-Bug: 1798093
Signed-off-by: Don Penney <don.penney@windriver.com>
This commit is contained in:
Don Penney 2019-03-07 10:02:57 -05:00
parent b39f383007
commit f4f7043259
4 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
[Unit]
Description=TIS Patching Agent
After=syslog.target network.target sw-patch.service
After=syslog.target network-online.target sw-patch.service
Before=pmon.service
[Service]

View File

@ -1,6 +1,6 @@
[Unit]
Description=TIS Patching Controller Daemon
After=syslog.target network.target sw-patch.service sw-patch-controller.service
After=syslog.target network-online.target sw-patch.service sw-patch-controller.service
Before=pmon.service
[Service]

View File

@ -1,6 +1,6 @@
[Unit]
Description=TIS Patching Controller
After=syslog.service network.target sw-patch.service
After=syslog.service network-online.target sw-patch.service
Before=sw-patch-agent.service sw-patch-controller-daemon.service
[Service]

View File

@ -1,6 +1,6 @@
[Unit]
Description=TIS Patching
After=syslog.target network.target
After=syslog.target network-online.target
Before=sw-patch-agent.service
[Service]