The source project of this merge request has been removed.
Fixed init.d script not working on OS X
-s flag of su doesn't work correctly on OS X, logging in as the user and not running the requested command. By moving the bash shell init inside the su command we avoid the issue
Fixes Issue #3309 (closed)