2 Description=Real time performance monitoring
3 After=network.target httpd.service squid.service nfs-server.service mysqld.service named.service postfix.service
10 RuntimeDirectory=netdata
11 ExecStartPre=/bin/mkdir -p @localstatedir_POST@/run/netdata
12 ExecStartPre=/bin/chown -R netdata:netdata @localstatedir_POST@/run/netdata
13 ExecStartPre=/bin/chmod 0775 @localstatedir_POST@/run/netdata
14 ExecStart=@sbindir_POST@/netdata -D -P @localstatedir_POST@/run/netdata/netdata.pid
16 # -----------------------------------------------------------------------------
22 # saving a big db on slow disks may need some time
25 # and disable SIGKILL - if sent during save, we will loose the db
28 # -----------------------------------------------------------------------------
31 # These will apply these capabilities to the entire netdata process tree
32 # We don't want this - only apps.plugin needs them
33 # AmbientCapabilities=CAP_DAC_READ_SEARCH CAP_SYS_PTRACE
34 # CapabilityBoundingSet=CAP_DAC_READ_SEARCH CAP_SYS_PTRACE
40 # is implicitly set by the MemoryDenyWriteExecute=true
41 # NoNewPrivileges=true
43 # Do not enable - it makes node.js plugins to crash
44 # MemoryDenyWriteExecute=true
47 WantedBy=multi-user.target