Blame SOURCES/target.service

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