stratis module: fix start order
Change start script order to pre-mount as stratis require fully initialized udev.master
parent
ef8915d7af
commit
3ea80545d6
|
@ -26,7 +26,7 @@ install() {
|
||||||
inst_simple "${moddir}/stratisd-init.service" "${systemdsystemunitdir}/stratisd-init.service"
|
inst_simple "${moddir}/stratisd-init.service" "${systemdsystemunitdir}/stratisd-init.service"
|
||||||
systemctl -q --root "$initdir" enable stratisd-init.service
|
systemctl -q --root "$initdir" enable stratisd-init.service
|
||||||
else
|
else
|
||||||
inst_hook cmdline 25 "$moddir/stratisd-start.sh"
|
inst_hook pre-mount 25 "$moddir/stratisd-start.sh"
|
||||||
inst_hook cleanup 25 "$moddir/stratisd-stop.sh"
|
inst_hook cleanup 25 "$moddir/stratisd-stop.sh"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue