top | item 33786003

(no title)

techhazard | 3 years ago

> Requires=network.target tells systemd not to start this mastodon.target if the network.target hasn’t been reached successfully.

That’s not true, Wants=/Requires= do not specify any order between units, only that without them the unit cannot be marked as succesful. This way they can still be started in parallel.

If you really want it to happen after network is up, you should add a dependency of After= under the Requires=.

Also network-online.target might be a better choice but YMMV.

discuss

order

ilyt|3 years ago

Blog says "reached" and not "finished" starting, the example here also includes After= for network target...