Fix iscsi network check
This adds network to be required. If NM is not used then this is required. If NM is used then network.service should not be setup and we are ok.
This commit is contained in:
parent
1c4f613249
commit
ec32d86275
@ -5,16 +5,9 @@
|
||||
# chkconfig: 345 13 89
|
||||
# description: Logs into iSCSI targets needed at system startup
|
||||
|
||||
# Note we should have $network in Required-Start/Stop but we don't because if
|
||||
# we would require network chkconfig will put us directly after NetworkManager
|
||||
# when using NM, which will make our see if the network is up test succeed
|
||||
# while NM is actually still configuring the network. By not requiring network
|
||||
# chkconfig will use the chkconfig header to determine our start prio, starting
|
||||
# us after the old network service, but before NM (netfs does this the same).
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: iscsi
|
||||
# Required-Start: iscsid
|
||||
# Required-Start: iscsid network
|
||||
# Should-Start: tgtd
|
||||
# Required-Stop: iscsid
|
||||
# Should-Stop: tgtd
|
||||
|
Loading…
Reference in New Issue
Block a user