mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 20:51:27 +00:00
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.
21 lines
481 B
Desktop File
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
|