mirror of
https://github.com/systemd/systemd
synced 2024-07-21 10:17:21 +00: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:
parent
3ccb886283
commit
3f2a3726d0
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue