1. CD into systemd service folder cd /etc/systemd/system/ 2 Enable these two services sudo systemctl enable systemd-networkd.service systemd-networkd-wait-online.service 3. Create the file like arozos.service sudo nano arozos.service 4. Write the service content as follow (replace with your startup directories, use "/home/pi/arozos/src/" instead of "/home/pi/arozos/" if you are cloning from Github) [Unit] Description=ArozOS Cloud Service After=systemd-networkd-wait-online.service Wants=systemd-networkd-wait-online.service [Service] Type=simple ExecStartPre=/bin/sleep 10 WorkingDirectory=/home/pi/arozos/ ExecStart=/bin/bash /home/pi/arozos/start.sh Restart=always RestartSec=10 [Install] WantedBy=multi-user.target 4. Start the service with sudo systemctl start arozos.service 5. Make it automatically startup during boot sudo systemctl enable arozos.service