summaryrefslogtreecommitdiffstats
path: root/system/systemd
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-24 09:54:23 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-24 09:54:44 +0000
commit836b47cb7e99a977c5a23b059ca1d0b5065d310e (patch)
tree1604da8f482d02effa033c94a84be42bc0c848c3 /system/systemd
parentReleasing debian version 1.44.3-2. (diff)
downloadnetdata-836b47cb7e99a977c5a23b059ca1d0b5065d310e.tar.xz
netdata-836b47cb7e99a977c5a23b059ca1d0b5065d310e.zip
Merging upstream version 1.46.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'system/systemd')
-rw-r--r--system/systemd/journald@netdata.conf5
-rw-r--r--system/systemd/netdata.service.in3
-rw-r--r--system/systemd/netdata.service.v235.in3
3 files changed, 9 insertions, 2 deletions
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