The init script for net-p2p/deluge-1.3.0 has a few bashism that do not allow it to run if the user is using dash instead of bash to parse init scripts. The attached patch fixes this problem.
Created attachment 249177 [details, diff] Patch to fix bashisms in init script
Thanks for the patch.
Created attachment 249200 [details, diff] Simplify user & group mangling And a second patch from me, removes a lot of redundancy from the init.d script. I should add that we shouldn't rely on getent there anyway; it is unportable.
Fixed, thanks