[Unit] Description=Listening P1AM output After=network.target # Adjust the target as needed [Service] ExecStart=/home/pi03/Multi-SNICS_Interlock/Listen2Arduino.py #WorkingDirectory=/home/pi02/Multi-SNICS_Interlock/ # Optional, set the working directory #Restart=always #StartLimitIntervalSec=10 #StartLimitBurst=5 [Install] WantedBy=multi-user.target