echo multiline to apache conf
This commit is contained in:
parent
b0474c5205
commit
b30681cb7c
1 changed files with 1 additions and 1 deletions
|
|
@ -410,7 +410,7 @@ while true; do
|
|||
case $WRITECONFIG in
|
||||
[Yy]* )
|
||||
echo -e "${GREEN}Write config to \"/etc/apache2/sites-available/${WEBSITENAME}\""
|
||||
echo ${SITECONFIG} > /etc/apache2/sites-available/${WEBSITENAME}.conf
|
||||
echo "${SITECONFIG}" > /etc/apache2/sites-available/${WEBSITENAME}.conf
|
||||
echo -e "${GREEN}Enable site ${WEBSITENAME}${NC}"
|
||||
a2ensite ${WEBSITENAME}
|
||||
echo -e "${GREEN}Restart apache server${NC}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue