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:
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…
x
Reference in New Issue
Block a user