Blame SOURCES/target.service

f7a13b
[Unit]
f7a13b
Description=Restore LIO kernel target configuration
f7a13b
Requires=sys-kernel-config.mount
f7a13b
After=sys-kernel-config.mount network.target local-fs.target
f7a13b
f7a13b
[Service]
f7a13b
Type=oneshot
f7a13b
RemainAfterExit=yes
f7a13b
ExecStart=/usr/bin/targetctl restore
f7a13b
ExecStop=/usr/bin/targetctl clear
f7a13b
SyslogIdentifier=target
f7a13b
f7a13b
[Install]
f7a13b
WantedBy=multi-user.target
f7a13b