Automatically restart APM Insight PHP agent during system reboots
To automatically restart APM Insight PHP agent during system reboots, use the below given steps:
For systemd servers:
From APM Insight PHP agent version 2.8, agent will automatically start during server reboots for systemd supported Linux flavors.
For non systemd servers:
1. Edit the /etc/rc.local file
2. Add the following lines to the rc.local,
- cd /opt/zpa/bin
- sh run.sh restart
Note: The above steps apply to systemd servers using APM Insight PHP agent versions below 2.8.