diff --git a/cookbooks/haproxy/recipes/install-from-source.bash b/cookbooks/haproxy/recipes/install-from-source.bash index b33c554c..11189c74 100755 --- a/cookbooks/haproxy/recipes/install-from-source.bash +++ b/cookbooks/haproxy/recipes/install-from-source.bash @@ -27,6 +27,7 @@ function install() make "${HAPROXY_CONFIG[@]}" make install PREFIX='' DESTDIR="${HAPROXY_INSTALL_FOLDER}" rm -f -r "${tempFolder}" + ln -f -s "${HAPROXY_INSTALL_FOLDER}/sbin/haproxy" '/usr/local/bin/haproxy' cd "${currentPath}" # Config Init