---
title: "How to configure systemd scripts for Gateway, Netprobe, and Licence Daemon startup"
description: "Configuring systemd scripts enables automatic startup of Geneos Gateway, Netprobe, and Licence Daemon services. Examples and steps for creating, placing, and enabling .service files with systemctl are provided for Linux systems."
url: "https://docs.itrsgroup.com/docs/faq/geneos/360009983274-geneos-how-to-configure-systemd-scripts-for-gateway-netprobe-and-licence-daemon-startup/index.html"
---
**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 *<name>.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
2. Place *<name>.service* files in */etc/systemd/system/*
3. Execute command: *sudo systemctl enable <name>.service*
If completed successfully, you should be able to call "*systemctl start <name>.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://systemd.io/) - <https://superuser.com/questions/1125250/systemctl-access-denied-when-root>

## Related downloads

- [gateway.service](/faq/downloads/geneos/360009983274-360008351737-gateway.service)
- [licd.service](/faq/downloads/geneos/360009983274-360008351757-licd.service)
- [netprobe.service](/faq/downloads/geneos/360009983274-360008431298-netprobe.service)


