From 836b47cb7e99a977c5a23b059ca1d0b5065d310e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 24 Jul 2024 11:54:23 +0200 Subject: Merging upstream version 1.46.3. Signed-off-by: Daniel Baumann --- system/systemd/journald@netdata.conf | 5 +++++ system/systemd/netdata.service.in | 3 ++- system/systemd/netdata.service.v235.in | 3 ++- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 system/systemd/journald@netdata.conf (limited to 'system/systemd') diff --git a/system/systemd/journald@netdata.conf b/system/systemd/journald@netdata.conf new file mode 100644 index 000000000..28fdca266 --- /dev/null +++ b/system/systemd/journald@netdata.conf @@ -0,0 +1,5 @@ +# See journald.conf(5) for details. + +[Journal] +SystemMaxUse=256M +RuntimeMaxUse=64M diff --git a/system/systemd/netdata.service.in b/system/systemd/netdata.service.in index 7d15dad77..3ea1f9d8e 100644 --- a/system/systemd/netdata.service.in +++ b/system/systemd/netdata.service.in @@ -3,7 +3,8 @@ Description=Real time performance monitoring # append here other services you want netdata to wait for them to start -After=network.target +After=network.target network-online.target nss-lookup.target +Wants=network-online.target nss-lookup.target [Service] LogNamespace=netdata diff --git a/system/systemd/netdata.service.v235.in b/system/systemd/netdata.service.v235.in index 06f03b269..e2878407b 100644 --- a/system/systemd/netdata.service.v235.in +++ b/system/systemd/netdata.service.v235.in @@ -3,7 +3,8 @@ Description=Real time performance monitoring # append here other services you want netdata to wait for them to start -After=network.target +After=network.target network-online.target nss-lookup.target +Wants=network-online.target nss-lookup.target [Service] LogNamespace=netdata -- cgit v1.2.3