#!/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,12 +1,6 @@
 #!/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 "$@"
+/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
FIX - exec form of commands
