1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-03-08 20:58:20 +03:00

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.
This commit is contained in:
Yu Watanabe 2016-10-12 18:13:13 +09:00 committed by Lennart Poettering
parent 3ccb886283
commit 3f2a3726d0

View File

@ -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