If you have tried to install the EDR sensor on a Linux distribution from the command line, using the following example, you may have been frustrated to learn that the availability of the sensor was tied to the life of the console from which it was launched.
chmod +x installer ; installer -d YOUR_INSTALLATION_KEY
This is because on Linux the exact persistence mechanism, like launchd or systemd, is left to the administrator, therefore the -d argument launches the sensor from the current working directory without persistence. In short, the sensor does not daemonize itself.
In order to make the processes of daemonizing the sensor easier we have created installation scripts for each method as follows.
If you are familiar with Linux you will know that that the preferred method for daemonizing processes for modern versions is systemd. The difference between the two methods is outlined nicely in this article.
initd
A sample installer script for initd is available here. An example of using the script to install a sensor is as follows.
sudo ./lc_linux_installer.sh installer YOUR_INSTALLATION_KEY
systemd
A SystemD installer script can be found here. An example of using the script to install a sensor is as follows.
sudo ./lc_systemd_installer.sh installer YOUR_INSTALLATION_KEY