1[Unit]
2Description=Open-iSCSI initiator (i.e. client) target bindings
3After=iscsi-initiator.service
4Requires=iscsi-initiator.service
5
6[Service]
7Type=oneshot
8EnvironmentFile=/etc/default/iscsi-initiator
9ExecStart=/usr/sbin/iscsiadm -m node --loginall=automatic $OPTS_ISCSIADM
10ExecStop=/usr/sbin/iscsiadm -m node --logoutall=all $OPTS_ISCSIADM
11RemainAfterExit=yes
12
13[Install]
14WantedBy=multi-user.target
15
16