Just silence two warnings
W: flink: script-in-etc-init.d-not-registered-via-update-rc.d etc/init.d/flink-taskmanager
W: flink: script-in-etc-init.d-not-registered-via-update-rc.d etc/init.d/flink-jobmanager
W: flink: maintainer-script-needs-depends-on-adduser preinst
Thanks Robert Metzger, will have a look into it.
+1 Change looks good.
Thank you for fixing these issues (I think our files are based on Spark, so I guess many of the fixes you did in the patch can be applied to Spark as well).
Tested, worked. Will commit it later today.
Forget that *.init files do only work with init fille with the same name as package. Workaround for now.
The patch i am testing right now.