diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-03-09 13:19:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-03-09 13:19:22 +0000 |
commit | c21c3b0befeb46a51b6bf3758ffa30813bea0ff0 (patch) | |
tree | 9754ff1ca740f6346cf8483ec915d4054bc5da2d /system/systemd | |
parent | Adding upstream version 1.43.2. (diff) | |
download | netdata-upstream/1.44.3.tar.xz netdata-upstream/1.44.3.zip |
Adding upstream version 1.44.3.upstream/1.44.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'system/systemd')
-rw-r--r-- | system/systemd/netdata.service.in | 5 | ||||
-rw-r--r-- | system/systemd/netdata.service.v235.in | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/system/systemd/netdata.service.in b/system/systemd/netdata.service.in index afdac114c..7d15dad77 100644 --- a/system/systemd/netdata.service.in +++ b/system/systemd/netdata.service.in @@ -3,9 +3,10 @@ Description=Real time performance monitoring # append here other services you want netdata to wait for them to start -After=network.target httpd.service squid.service nfs-server.service mysqld.service mysql.service named.service postfix.service chronyd.service +After=network.target [Service] +LogNamespace=netdata Type=simple User=root RuntimeDirectory=netdata @@ -61,6 +62,8 @@ CapabilityBoundingSet=CAP_NET_ADMIN CapabilityBoundingSet=CAP_SETGID CAP_SETUID # is required to change file ownership CapabilityBoundingSet=CAP_CHOWN +# is required for logs-management.plugin +CapabilityBoundingSet=CAP_SYSLOG # Sandboxing ProtectSystem=full diff --git a/system/systemd/netdata.service.v235.in b/system/systemd/netdata.service.v235.in index be5de4e36..06f03b269 100644 --- a/system/systemd/netdata.service.v235.in +++ b/system/systemd/netdata.service.v235.in @@ -3,9 +3,10 @@ Description=Real time performance monitoring # append here other services you want netdata to wait for them to start -After=network.target httpd.service squid.service nfs-server.service mysqld.service mysql.service named.service postfix.service chronyd.service +After=network.target [Service] +LogNamespace=netdata Type=simple User=root EnvironmentFile=-/etc/default/netdata |