A common task for Linux administrators is to create a background task that must be executed in the background. The most popular service manager in the Linux world is the systemd. This is an example of how to create a new service and use it.
If you want to learn more about the systemd, I recommend this video made by "DJ Ware":
I am a quality engineer at Red Hat / Ansible. I love automation tools, games, and coffee.
I am also an active contributor to open-source projects on GitHub.