mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08: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:
committed by
Lennart Poettering
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
|
||||
|
||||
Reference in New Issue
Block a user