14 lines
355 B
SYSTEMD
14 lines
355 B
SYSTEMD
|
[Unit]
|
||
|
Description=Listening P1AM output
|
||
|
After=network.target # Adjust the target as needed
|
||
|
|
||
|
[Service]
|
||
|
ExecStart=/home/pi02/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
|