Back to Geneos FAQ

How to configure systemd scripts for Gateway, Netprobe, and Licence Daemon startup

The systemd package has been used in newer versions of Linux distributions like RHEL 7, SLES 12 and Ubuntu 18. We have attached examples in this article for the convenience of Geneos users. This is more an operating system configuration, so please refer to the respective OS documentation as appropriate. This is how you can auto start Geneos services with systemd.

  1. Create a .service file. Examples have been attached.
  1. Place .service files in /etc/systemd/system/
  2. Execute command: sudo systemctl enable .service If completed successfully, you should be able to call “systemctl start .service” to start that component. Notes - It does require root or sudo access to perform the configuration. - In certain Linux versions, there is known bug with SELinux that prevents execution of the systemctl enable command. A workaround is to change enforcement of SELinux to 0 by running the command “sudo setenforce 0” and then running the enable command. External References - systemd Official Website - https://superuser.com/questions/1125250/systemctl-access-denied-when-root
["Geneos"] ["FAQ"]

Was this topic helpful?