This unit is provided by:
-
https:/
/ packages.fedoraproject.org/ pkgs/ python-rtslib/ target-restore/ -
https:/
/ software.opensuse.org/ package/ python-rtslib-fb-common
Options
-
[Install]
-
[Service]
-
Environment=CONFIG_FILE=/etc/target/saveconfig.json
-
EnvironmentFile=-/etc/sysconfig/target
-
ExecStart=/usr/bin/targetctl restore
-
ExecStart=/usr/bin/targetctl restore $CONFIG_FILE
-
ExecStop=/usr/bin/targetctl clear
-
ExecStop=/usr/bin/targetctl save $CONFIG_FILE /usr/bin/targetctl clear
-
RemainAfterExit=yes
-
SyslogIdentifier=target
-
Type=oneshot
-
-
[Unit]
-
After=sys-kernel-config.mount network.target local-fs.target
-
Description=Restore LIO kernel target configuration
-
Requires=sys-kernel-config.mount
-
Additionnal notes
Nothing here.