RASCSI/python/oled/service-infra/piscsi-oled.service
Daniel Markstedt 52c2aa474f
Rebrand project to PiSCSI (#1016)
* Rebrand project to PiSCSI
- rascsi ->piscsi
- rasctl -> scsictl
- rasdump -> scsidump
- ras* -> piscsi* (rasutil -> piscsi_util, etc.)

* Refined the formatting and wording of the app startup banner
* Kept some references to rascsi and rasctl where backwards compatibility is concerned
* Point to the new github repo URL

Co-authored-by: nucleogenic <nr@nucleogenic.com>
Co-authored-by: Uwe Seimet <Uwe.Seimet@seimet.de>
2022-12-05 09:58:23 -08:00

17 lines
443 B
Desktop File

[Unit]
Description=PiSCSI-OLED Monitor service
After=network.target piscsi.service
[Service]
Type=simple
Restart=always
RestartSec=2s
ExecStart=/home/pi/piscsi/python/oled/start.sh
ExecStop=/bin/pkill --signal 2 -f "python3 src/piscsi_oled_monitor.py"
# Sleep 2s as a crude way for the python interrupt handler to take effect and show the shutdown splash
ExecStop=/bin/sleep 2
SyslogIdentifier=PISCSIMON
[Install]
WantedBy=multi-user.target