Installing EFM as an operating system service
The EFM executable supports installation as a service on most Linux
distributions. This is an optional installation step that is not required if
you prefer to start the EFM server from the
included in the EFM bin directory.
You can start the application as a service by using either
Install EFM as an init.d service
$ sudo ln -s /path/to/efm/bin/efm.sh /etc/init.d/efm
$ service efm start
man update-rc.dfor information on using this utility.
Install EFM as a systemd service
Most modern Linux distributions now use
systemd as the successor to
init.d (System V). In many cases you can continue to use
init.d, but it is also possible to launch EFM using
systemd as a service configuration.
systemdservice, create a file named
/etc/systemd/systemdirectory. For example:
[Unit] Description=efm After=syslog.target [Service] User=efm ExecStart=/path/to/efm/bin/efm.sh SuccessExitStatus=143 [Install] WantedBy=multi-user.target