If you need to run a process as a daemon in Ubuntu, this guide will walk you through the steps to set it up properly using systemd. Setting Up the Daemon # Let’s assume your executable is named arduino-data-points, and you want to configure it as a daemon under the same name. I assume the executable is stored here: /root/arduino-data/arduino-data-points 1. Define the Service # First, create a service file for systemd.