RASCSI/src/raspberrypi/os_integration/rascsi.service

20 lines
487 B
SYSTEMD
Raw Normal View History

[Unit]
Description=RaSCSI service
After=network.target
[Service]
Type=simple
Restart=always
ExecStart=/usr/local/bin/rascsi -r 7
# Example: If you want to automatically attach a hard disk at startup, change
# the ExecStart line to:
# ExecStart=/usr/local/bin/rascsi -ID1 /home/pi/images/harddisk.hda
# This functionality isn't implmented yet: ExecStop=/usr/local/bin/rasctl -stop
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=RASCSI
[Install]
WantedBy=multi-user.target