|
|
|
|
@ -146,7 +146,7 @@ sudo touch /etc/${OE_CONFIG}.conf
|
|
|
|
|
echo -e "* Creating server config file"
|
|
|
|
|
sudo su root -c "printf '[options] \n; This is the password that allows database operations:\n' >> /etc/${OE_CONFIG}.conf"
|
|
|
|
|
sudo su root -c "printf 'admin_passwd = ${OE_SUPERADMIN}\n' >> /etc/${OE_CONFIG}.conf"
|
|
|
|
|
sudo su root -c "printf 'xmlrpc_port = ${OE_PORT}\n' >> /etc/${OE_CONFIG}.conf"
|
|
|
|
|
sudo su root -c "printf 'http_port = ${OE_PORT}\n' >> /etc/${OE_CONFIG}.conf"
|
|
|
|
|
sudo su root -c "printf 'logfile = /var/log/${OE_USER}/${OE_CONFIG}.log\n' >> /etc/${OE_CONFIG}.conf"
|
|
|
|
|
if [ $IS_ENTERPRISE = "True" ]; then
|
|
|
|
|
sudo su root -c "printf 'addons_path=${OE_HOME}/enterprise/addons,${OE_HOME_EXT}/addons\n' >> /etc/${OE_CONFIG}.conf"
|
|
|
|
|
|