#!/usr/bin/bash

# Copyright © Cloud Linux GmbH \& Cloud Linux Software, Inc 2010-2021 All Rights Reserved
#
# Licensed under CLOUD LINUX LICENSE AGREEMENT
# http://cloudlinux.com/docs/LICENSE.TXT

#####################################################
# Util for building modules by hands. Without hooks #
#####################################################

. /usr/share/lve/modproctitle/include/cpanel-common-lve


VER=`getEasyApacheVer`

showBar 1
writeToLog "mod_proctitle module installation. Apache ${VER}"

if [ "$VER" == "2_4" ]; then
	installModule_proctitle
	writeToLog "End operation"
else
	writeToLog "mod_proctitle is incompatible with Apache ${VER}. Apache 2_4 only supported"
fi
	showBar 2

echo
