mirror of
https://github.com/akuker/RASCSI.git
synced 2024-11-29 16:49:55 +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
|