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 AmbientCapabilities=CAP_DAC_READ_SEARCH CAP_SYS_PTRACE
32 CapabilityBoundingSet=CAP_DAC_READ_SEARCH CAP_SYS_PTRACE
37 # is implicitly set by the MemoryDenyWriteExecute=true
38 # NoNewPrivileges=true
40 # Do not enable - it makes node.js plugins to crash
41 # MemoryDenyWriteExecute=true
44 WantedBy=multi-user.target