Hallo,

when I want a normal service to be started only after the networks is
ready, I put

|[Unit]
|After=network-online.target
|Wants=network-online.target

into the service unit.

Now I have a socket activated service which I know won't properly start
(but claim readiness) if started before the network is ready.

Would I put those two lines into foo.service or foo.socket?

Grüße
Marc
-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber         |   " Questions are the         | Mailadresse im Header
Mannheim, Germany  |     Beginning of Wisdom "     | 
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to