Skip to content

Commit

Permalink
Update Script
Browse files Browse the repository at this point in the history
  • Loading branch information
AAAAAEXQOSyIpN2JZ0ehUQ committed Jul 5, 2021
1 parent a082791 commit 8455d07
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# NEW-ULTIMATE MANAGER
# ESTE PROYECTO A SIDO DESCONTINUADO.--
```
* UPDATE 21/06/2021 - PROYECTO FINALIZADO
```
Expand Down
15 changes: 15 additions & 0 deletions request/apache2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,21 @@ done <<< "${portasVAR}"
[[ ! -z $APC ]] && echo -e $APC
}

apache2_restart () {
msg -ama " $(fun_trans "INSTALADOR APACHE2")"
msg -bar
fun_bar "apt-get install apache2 -y"
sed -i "s;Listen 80;Listen 81;g" /etc/apache2/ports.conf
sleep 0.5s
msg -ne "\033[1;31m [ ! ] \033[1;33m$(fun_trans "REINICIANDO SERVICOS")"
service apache2 restart > /dev/null 2>&1 &
echo -e "\033[1;32m[OK] \033[1;33m$(fun_trans "PORTA 81 POR PADRAO")"
msg -bar
sleep 0.5s
msg -ama " $(fun_trans "Sucesso Procedimento Feito")"
msg -bar
}

remover_apache2 () {
msg -ama " $(fun_trans "REMOVENDO APACHE2")"
msg -bar
Expand Down

0 comments on commit 8455d07

Please sign in to comment.