×
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.
- Create a
.service file. Examples have been attached.
- ExecStart and ExecStop should point to the location of your control scripts.
- Description can be changed to anything you prefer.
- If network service is slow to start on machine boot up, include the After= switch to depend on the network.target and network-online.target components
- Place
.service files in /etc/systemd/system/ - 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
Related downloads Copied
["Geneos"]
["FAQ"]