mirror of
https://github.com/akuker/RASCSI.git
synced 2024-11-22 16:33:17 +00:00
52c2aa474f
* 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>
25 lines
643 B
Desktop File
25 lines
643 B
Desktop File
[Unit]
|
|
Description=PiSCSI service
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
Restart=always
|
|
ExecStart=/usr/local/bin/piscsi -r 7
|
|
# Example 1: If you want to automatically attach a hard disk at startup,
|
|
# say an image called harddisk.hds on SCSI ID 1, change the ExecStart line to:
|
|
#
|
|
# ExecStart=/usr/local/bin/piscsi -ID1 /home/pi/images/harddisk.hds
|
|
#
|
|
# Example 2: If you want to reserve SCSI IDs to prevent usage, add '-r' followed by
|
|
# comma-separated SCSI ID numbers; for instance IDs 0 and 7:
|
|
#
|
|
# ExecStart=/usr/local/bin/piscsi -r 0,7
|
|
#
|
|
ExecStop=/usr/local/bin/scsictl -X
|
|
SyslogIdentifier=PISCSI
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|