On Fri, Sep 18, 2015 at 11:44 AM, Reindl Harald <[email protected]> wrote: > > > Am 18.09.2015 um 10:34 schrieb lucien xin: >>> >>> Just order teamd before network.target >> >> >> sorry, I cannot follow you. > > > After=network.target >
Actually I meant that teamd should have Before=network.target Then anything ordered after network.target will be stopped early enough. >> I mean, now my A.service is shutdown before network.target. >> but I also wnat A.service to be shutdown before teamd, >> define "[email protected] [email protected]...." >> in A.service can work, but I hope there is another way, >> >> like there may be another option can make A.service's shutdown >> 'level' earlier than both teamd and network.target's shutdown 'level' >> >> i do not know, just ask > > > services are stopped in the reverse order they are started and so with > After= and Before= you just need to adjust the order you want > > > _______________________________________________ > systemd-devel mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/systemd-devel > _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
