335a519863
Use iscsi-initiator-utils-config package to package config and service file for iscsi-initiator-utils package. Deployment test and ping test between WMs pass Config and service files check pass. Story: 2003768 Task: 27596 Change-Id: I6512171f1c9186018c0af15b15e7d2094e3d7a73 Signed-off-by: zhipengl <zhipengs.liu@intel.com>
17 lines
447 B
Desktop File
17 lines
447 B
Desktop File
[Unit]
|
|
Description=Logout off all iSCSI sessions on shutdown
|
|
Documentation=man:iscsid(8) man:iscsiadm(8)
|
|
DefaultDependencies=no
|
|
Conflicts=shutdown.target
|
|
After=systemd-remount-fs.service network.target iscsid.service iscsiuio.service
|
|
After=network.service
|
|
Before=remote-fs-pre.target
|
|
Wants=remote-fs-pre.target
|
|
RefuseManualStop=yes
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=true
|
|
ExecStart=-/bin/true
|
|
ExecStop=-/sbin/iscsiadm -m node --logoutall=all
|