
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>
17 lines
356 B
Desktop File
17 lines
356 B
Desktop File
[Unit]
|
|
Description=TIS Patching Agent
|
|
After=syslog.target network-online.target sw-patch.service
|
|
Before=pmon.service
|
|
|
|
[Service]
|
|
Type=forking
|
|
User=root
|
|
ExecStart=/etc/init.d/sw-patch-agent start
|
|
ExecStop=/etc/init.d/sw-patch-agent stop
|
|
ExecReload=/etc/init.d/sw-patch-agent restart
|
|
PIDFile=/var/run/sw-patch-agent.pid
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|