From: Gioele Barabucci Date: Mon, 14 Aug 2023 06:50:46 +0000 (+0200) Subject: docs/NETWORK_ONLINE: Move `Type=`, `RemainAfterExit=` to `[Service]` X-Git-Tag: v255-rc1~730^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3078ece8c49a4ae32d38a01b9e56611db174d54c;p=thirdparty%2Fsystemd.git docs/NETWORK_ONLINE: Move `Type=`, `RemainAfterExit=` to `[Service]` `Type=` and `RemainAfterExit=` belong in `[Service]`, not `[Unit]`. Fixes #28826 --- diff --git a/docs/NETWORK_ONLINE.md b/docs/NETWORK_ONLINE.md index 4700ef5b15e..74e610b0d1f 100644 --- a/docs/NETWORK_ONLINE.md +++ b/docs/NETWORK_ONLINE.md @@ -252,10 +252,10 @@ established), the following simple service could be used: DefaultDependencies=no After=nss-lookup.target Before=network-online.target -Type=oneshot -RemainAfterExit=yes [Service] +Type=oneshot +RemainAfterExit=yes ExecStart=sh -c 'while ! ping -c 1 example.com; do sleep 1; done' [Install]