X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsystemd-journal-upload.service.in;h=b2e3c769cce8db0fa333ec5ee5079f2b755eb94b;hp=6388291649eff8e8fc77df71cb5d841ca59483a8;hb=de45d726034f33afdb0a185e62fc61bf10a0acd2;hpb=ad95fd1d2b9c6344864857c2ba7634fd87753f8e diff --git a/units/systemd-journal-upload.service.in b/units/systemd-journal-upload.service.in index 638829164..b2e3c769c 100644 --- a/units/systemd-journal-upload.service.in +++ b/units/systemd-journal-upload.service.in @@ -7,16 +7,19 @@ [Unit] Description=Journal Remote Upload Service +After=network.target [Service] ExecStart=@rootlibexecdir@/systemd-journal-upload \ --save-state User=systemd-journal-upload -Group=systemd-journal-uplaod PrivateTmp=yes PrivateDevices=yes WatchdogSec=20min +# If there are many split up journal files we need a lot of fds to +# access them all and combine +LimitNOFILE=16384 + [Install] WantedBy=multi-user.target -After=network.target