X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fsystemd-journal-upload.service.in;h=f8524ca2271996fe51a956b876b77bf5fe730870;hb=6a716208b346b742053cfd01e76f76fb27c4ea47;hp=e79f96204394e90aec19aafea3ac513231595650;hpb=fa8b8030a476f1a4fd8c0f00423351788d36bd3a;p=elogind.git diff --git a/units/systemd-journal-upload.service.in b/units/systemd-journal-upload.service.in index e79f96204..f8524ca22 100644 --- a/units/systemd-journal-upload.service.in +++ b/units/systemd-journal-upload.service.in @@ -7,15 +7,20 @@ [Unit] Description=Journal Remote Upload Service +After=network.target [Service] ExecStart=@rootlibexecdir@/systemd-journal-upload \ --save-state +SecureBits=noroot noroot-locked User=systemd-journal-upload 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