Create a service file like watchdog_s3.service Put it in /lib/systemd/system/ Reload systemd using command: systemctl daemon-reload Enable auto start using command: systemctl enable watchdog_s3.service