#
# Copyright 2020 New Relic Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
#
# This is a configuration template for the New Relic daemon - a communications
# proxy between New Relic agents (such as the PHP agent) and the New Relic
# data collectors. This configuration file is required *ONLY* if you need or
# want to start the New Relic daemon at system boot time using init. In order
# to do so you must execute the following commands (as root):
#
# For CentOS and RedHat systems:
# /sbin/chkconfig newrelic-daemon on
#
# For Ubuntu and Debian systems:
# /usr/sbin/update-rc.d newrelic-daemon defaults 90 10
# /usr/sbin/update-rc.d newrelic-daemon enable
#
# For FreeBSD systems:
# /etc/rc.d/newrelic-daemon start
#
# For other systems please consult your documentation on how to enable and
# disable services.
#
# For most systems:
# /etc/init.d/newrelic-daemon start
#
# The startup scripts will only start the daemon if there is a valid daemon
# configuration file in place. This file is, by default:
#
# /etc/newrelic/newrelic.cfg
#
# If that file does not exist, you can copy this template file to that
# location and edit it to suit your system needs.
#
# By default the daemon is not started at system boot time, and does not use
# the /etc/newrelic/newrelic.cfg file. Rather, the daemon is started by the
# agent automatically on startup and is configured by the agent (for example
# when using the PHP agent the daemon parameters are set in the global INI
# file and all begin with 'newrelic.daemon').
#
# There are certain circumstances under which you may want the daemon to be
# started at boot time rather than by the agent. If you use a chroot jail for
# running the agent in, if you have multiple web servers or FastCGI process
# managers, or if you use PHP on the command line a lot for batch processing
# then you may want to start the daemon once at system boot rather than having
# the agent start it.
#
# Below are the various options you can change that affect the daemon. Each
# one is explained in detail along with it's default value.
# Setting: pidfile
# Type : string
# Purpose: Sets the name of the file that the daemon writes its process ID
# (PID) to. This is used by the startup and shutdown script to know
# which process to monitor or kill.
# Default: None. Init script uses a filename of newrelic-daemon.pid in
# the first directory from /var/run or /var/pid that is found.
pidfile=/var/run/alt-php81-newrelic.pid
# Setting: logfile
# Type : string
# Purpose: Sets the name of the file to record log messages in. If this file
# does not exist it is created. If it cannot be created the daemon
# will not start up. The amount of information sent to this file is
# controlled by the loglevel settings, defined below.
# Default: /var/log/alt-php81-newrelic/newrelic-daemon.log
logfile=/var/log/alt-php81-newrelic/newrelic-daemon.log
# Setting: loglevel
# Type : string
# Purpose: Sets the level of detail of log messages sent to the log file. This
# variable can control the log level for different subsystem at
# different levels, although such custom usage should only be done at
# the request of New Relic technical support. The simplest setting is
# to use one of the following keywords, in increasing order of detail:
# error - only error messages
# warning - only warning and error messages
# info - only minimal startup and shutdown info
# debug - very verbose, includes messages only relevant to support.
# The debug level may create very large log files.
#
# The values verbose and verbosedebug are deprecated aliases for debug.
#
# Default: info
#loglevel=info
# Setting: address (alias: port)
# Type : String or Integer (1-65535)
# Purpose: Sets how the agent and daemon communicate. How this is set can impact
# performance.
#
# The default is to use a UNIX-domain socket located at
# /tmp/.newrelic.sock. If you want to use UNIX domain sockets then
# this value must begin with a "/".
#
# On Linux, an abstract socket can be created by prefixing the socket
# name with '@'. Support for abstract sockets was added in PHP agent
# version 5.2.
#
# If you set this to an integer value in the range 1-65535, then this
# will instruct the agent to use a normal TCP socket on the port
# specified. This may be easier to use if you are using a chroot
# environment.
#
# To connect to a daemon that is running on a different host, set this
# value to '