Sat, Jul 16, 2016 at 12:02:39PM CEST, lucien.xin(a)gmail.com wrote:
Commit 2d240e58e073 ("teamd: add Before=network.target to
service file") wants teamd to be stopped after network service is
stopped when system shutdown.
But 'Before=network-pre.target' doesn't actually work on that case.
'network-pre.target' is introduced in systemd to make it possible
to explicitly order things before networking is started (or stop
after networking has been stopped).
So this patch changes it to Before=network-pre.target.
Fixes: 2d240e58e073 ("teamd: add Before=network.target to systemd service
Signed-off-by: Xin Long <lucien.xin(a)gmail.com>