mirror of
https://github.com/akuker/RASCSI.git
synced 2024-12-21 23:29:39 +00:00
15 lines
318 B
Desktop File
15 lines
318 B
Desktop File
[Unit]
|
|
Description=PiSCSI Control Board service
|
|
After=network-online.target piscsi.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
Restart=always
|
|
RestartSec=2s
|
|
ExecStart=/home/pi/piscsi/python/ctrlboard/start.sh
|
|
ExecStop=/bin/pkill --signal 2 -f "python3 src/main.py"
|
|
SyslogIdentifier=PISCSICTRLB
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|