Blame etc/systemd/iscsi-shutdown.service
|
Packit Service |
94a5ba |
[Unit]
|
|
Packit Service |
94a5ba |
Description=Logout off all iSCSI sessions on shutdown
|
|
Packit Service |
94a5ba |
Documentation=man:iscsid(8) man:iscsiadm(8)
|
|
Packit Service |
94a5ba |
DefaultDependencies=no
|
|
Packit Service |
94a5ba |
Conflicts=shutdown.target
|
|
Packit Service |
94a5ba |
After=systemd-remount-fs.service network.target iscsid.service iscsiuio.service
|
|
Packit Service |
94a5ba |
Before=remote-fs-pre.target
|
|
Packit Service |
94a5ba |
Wants=remote-fs-pre.target
|
|
Packit Service |
94a5ba |
RefuseManualStop=yes
|
|
Packit Service |
94a5ba |
|
|
Packit Service |
94a5ba |
[Service]
|
|
Packit Service |
94a5ba |
Type=oneshot
|
|
Packit Service |
94a5ba |
RemainAfterExit=true
|
|
Packit Service |
94a5ba |
ExecStart=-/usr/bin/true
|
|
Packit Service |
94a5ba |
ExecStop=-/usr/sbin/iscsiadm -m node --logoutall=all
|