python-rtslib/target.service
Andy Grover e44b55a3dc update to 2.1.fb41-1
Signed-off-by: Andy Grover <agrover@redhat.com>
2013-11-01 12:27:15 -07:00

16 lines
331 B
Desktop File

[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