You're on the right track. Ubiquity has code for diverting invoke-rc.d, upstart, start-stop-daemon, and others. I'd suggest using that as a source.
It would be helpful to see the full logs of this incorporated with the ubiquity code and failing, if it fails.
You're on the right track. Ubiquity has code for diverting invoke-rc.d, upstart, start-stop-daemon, and others. I'd suggest using that as a source.
It would be helpful to see the full logs of this incorporated with the ubiquity code and failing, if it fails.