summaryrefslogtreecommitdiff
path: root/units/systemd-journal-upload.service.in
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2016-10-12 18:13:13 +0900
committerLennart Poettering <lennart@poettering.net>2016-10-12 11:13:13 +0200
commit3f2a3726d02e269a37f1f2c2e429212988fd4cbf (patch)
tree80e4b27783b5ec98be6c005ad4c914ba5db4ca2c /units/systemd-journal-upload.service.in
parent3ccb886283a1a98b549f44b6d33edeecc3768f1f (diff)
downloadsystemd-3f2a3726d02e269a37f1f2c2e429212988fd4cbf.tar.gz
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.
Diffstat (limited to 'units/systemd-journal-upload.service.in')
-rw-r--r--units/systemd-journal-upload.service.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/units/systemd-journal-upload.service.in b/units/systemd-journal-upload.service.in
index c709543af5..d8fd243620 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