| Server IP : www.new.bangkokfinder.com / Your IP : 162.158.88.107 Web Server : nginx/1.20.1 System : Linux new 4.15.0-159-generic #167-Ubuntu SMP Tue Sep 21 08:55:05 UTC 2021 x86_64 User : bangkokfinder ( 1000) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/thread-self/root/etc/init/ |
Upload File : |
description "Datadog System Probe"
start on starting datadog-agent
stop on (runlevel [!2345] or stopping datadog-agent)
respawn
respawn limit 4 25
normal exit 0
# Logging to console from the agent is disabled since the agent already logs using file or
# syslog depending on its configuration. We make upstart log what the process still outputs in order
# to log panics/crashes to /var/log/upstart/datadog-agent.log
console log
env DD_LOG_TO_CONSOLE=false
# mount debugfs before start
pre-start script
# Do not run if config file doesn't exist
test -f /etc/datadog-agent/system-probe.yaml || { stop ; exit 0; }
if [ -d /sys/kernel/debug ]; then
if ! grep -qs '/sys/kernel/debug ' /proc/mounts; then
mount -t debugfs none /sys/kernel/debug
fi
fi
end script
script
exec /opt/datadog-agent/embedded/bin/system-probe run --config=/etc/datadog-agent/system-probe.yaml --pid=/opt/datadog-agent/run/system-probe.pid
end script
post-stop script
rm -f /opt/datadog-agent/run/system-probe.pid
end script