--- /etc/init.d/haproxy.old	2014-10-11 12:27:55.810489839 +0200
+++ /etc/init.d/haproxy	2014-10-11 12:30:43.827489689 +0200
@@ -158,6 +158,11 @@
 	esac
 	exit $ret
 	;;
+configtest|testconfig)
+	log_daemon_msg "Testing haproxy configuration"
+	check_haproxy_config
+	log_end_msg $?
+	;;
 status)
 	haproxy_status
 	ret=$?
