targetcli/targetcli.service
Andy Grover e6b6f0b52f version 2.0rc1.fb3-2
Signed-off-by: Andy Grover <agrover@redhat.com>
2011-12-13 16:36:49 -08:00

16 lines
352 B
Desktop File

[Unit]
Description=Loads LIO kernel target saved configuration
Requires=sys-kernel-config.mount
After=sys-kernel-config.mount
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/targetcli restoreconfig clear_existing=true
ExecStop=/usr/bin/targetcli clearconfig confirm=true
SyslogIdentifier=targetcli
[Install]
WantedBy=multi-user.target