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