From: Yu Watanabe Date: Wed, 12 Oct 2016 09:13:13 +0000 (+0900) Subject: units: journal-upload Wants= and After=network-online.target (#4354) X-Git-Tag: v232~106 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3f2a3726d02e269a37f1f2c2e429212988fd4cbf;p=thirdparty%2Fsystemd.git units: journal-upload Wants= and After=network-online.target (#4354) To upload journal entries to a remote server, it is required that the network is online. --- diff --git a/units/systemd-journal-upload.service.in b/units/systemd-journal-upload.service.in index c709543af54..d8fd2436202 100644 --- a/units/systemd-journal-upload.service.in +++ b/units/systemd-journal-upload.service.in @@ -8,7 +8,8 @@ [Unit] Description=Journal Remote Upload Service Documentation=man:systemd-journal-upload(8) -After=network.target +Wants=network-online.target +After=network-online.target [Service] ExecStart=@rootlibexecdir@/systemd-journal-upload --save-state