Files
scst/scstadmin/systemd/scst.service
Brian M 0d3c9018af debian, scstadmin: Add systemd scst.service
Add systemd service file when packaging for Debian.  Current
systemd will automatically generate one, but this functionality
will be removed in a future version of systemd.
2025-10-28 18:15:04 +03:00

21 lines
481 B
Desktop File

[Unit]
Description=SCST - A Generic SCSI Target Subsystem
Documentation=man:scstadmin(1) man:scst.conf(5)
After=network-online.target local-fs.target
Wants=network-online.target
DefaultDependencies=no
Before=shutdown.target
[Service]
Type=oneshot
RemainAfterExit=yes
EnvironmentFile=-/etc/default/scst
ExecStart=/etc/init.d/scst start
ExecStop=/etc/init.d/scst stop
ExecReload=/etc/init.d/scst reload
TimeoutStartSec=5min
TimeoutStopSec=5min
[Install]
WantedBy=multi-user.target