ubuntu-buildroot/package/targetcli-fb/target.service

15 lines
330 B
SYSTEMD
Raw Permalink Normal View History

2024-04-01 15:19:46 +00:00
[Unit]
Description=Restore LIO kernel target configuration
Requires=sys-kernel-config.mount
After=sys-kernel-config.mount network.target local-fs.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/targetctl restore
ExecStop=/usr/bin/targetctl clear
SyslogIdentifier=target
[Install]
WantedBy=multi-user.target