mirror of
				https://git.haproxy.org/git/haproxy.git/
				synced 2025-10-31 08:30:59 +01:00 
			
		
		
		
	This one is the last optional module to build with haproxy, so let's move it to addons/. It was renamed to "ot" as it was the only one whose USE_* option did not match the directory name, now this is consistent. Few changes were required, only the Makefile, and doc were adjusted, as the directory was already self-contained and relocatable.
		
			
				
	
	
		
			14 lines
		
	
	
		
			363 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			363 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/sh
 | |
| #
 | |
| _ARG_HAPROXY="${1:-$(realpath -L ${PWD}/../../../haproxy)}"
 | |
|        _ARGS="-f cmp/haproxy.cfg"
 | |
|     _LOG_DIR="_logs"
 | |
|         _LOG="${_LOG_DIR}/_log-$(basename ${0} .sh)-$(date +%s)"
 | |
| 
 | |
| 
 | |
| test -x "${_ARG_HAPROXY}" || exit 1
 | |
| mkdir -p "${_LOG_DIR}"    || exit 2
 | |
| 
 | |
| echo "executing: ${_ARG_HAPROXY} ${_ARGS} > ${_LOG}"
 | |
| "${_ARG_HAPROXY}" ${_ARGS} >"${_LOG}" 2>&1
 |