Automatically restart APM Insight PHP agent during system reboots

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,
  1. cd /opt/zpa/bin
  2. sh run.sh restart
Note: The above steps apply to systemd servers using APM Insight PHP agent versions below 2.8.