#!/bin/bash

set -e

exec /etc/init.d/redis start
exec /etc/init.d/rabbitmq-server start
exec /etc/init.d/sensu-server start
exec /etc/init.d/sensu-api start
exec /etc/init.d/uchiwa start


exec "$@"
#!/bin/bash
/etc/init.d/redis start
/etc/init.d/rabbitmq-server start
/etc/init.d/sensu-server start
/etc/init.d/sensu-api start
/etc/init.d/uchiwa start

--- 
+++ 
@@ -1,6 +1,12 @@
 #!/bin/bash
-/etc/init.d/redis start
-/etc/init.d/rabbitmq-server start
-/etc/init.d/sensu-server start
-/etc/init.d/sensu-api start
-/etc/init.d/uchiwa start
+
+set -e
+
+exec /etc/init.d/redis start
+exec /etc/init.d/rabbitmq-server start
+exec /etc/init.d/sensu-server start
+exec /etc/init.d/sensu-api start
+exec /etc/init.d/uchiwa start
+
+
+exec "$@"
FIX - exec form of commands
