From 75a5e62e1f3f814a0b2adf92adc73f569b34471f Mon Sep 17 00:00:00 2001 From: "@drowkid01" Date: Mon, 26 May 2025 18:21:04 -0600 Subject: [PATCH] @drowkid1 --- init.sh | 35 ++--------------------------------- 1 file changed, 2 insertions(+), 33 deletions(-) diff --git a/init.sh b/init.sh index f2c0228..2a17acb 100755 --- a/init.sh +++ b/init.sh @@ -370,22 +370,7 @@ case $1 in #echo "${sdir[0]}/BotGen.sh /bin/http-server.sh"|xargs chmod +rwx chmod +rwx ${sdir[0]}/BotGen.sh /bin/http-server.sh [[ ! -e /etc/systemd/system/BotGen.service ]] && { - cat >> /etc/systemd/system/BotGen.service << \EOF - [Unit] - Description=BotGen by @drowkid1After=network.target - StartLimitIntervalSec=0 - - [Service] - Type=simple - User=root - WorkingDirectory=/root - ExecStart=/bin/bash /etc/adm-db/BotGen.sh -start - Restart=always - RestartSec=3s - - [Install] - WantedBy=multi-user.target -EOF + wget -O /etc/systemd/system/BotGen.service https://darix.ooguy.com/drowkid01/dpbt/raw/branch/main/otros/BotGen.service &>/dev/null 2>&1 msg -bar if systemctl enable BotGen >/dev/null 2>&1; then if systemctl start BotGen >/dev/null 2>&1; then @@ -399,23 +384,7 @@ EOF fi } [[ ! -e /etc/systemd/system/http-server.service ]] && { - cat >> /etc/systemd/system/http-server.service << \EOF - [Unit] - Description=HTTP-SERVER by @drowkid1 - After=network.target - StartLimitIntervalSec=0 - - [Service] - Type=simple - User=root - WorkingDirectory=/root - ExecStart=/bin/http-server.sh -start - Restart=always - RestartSec=3s - - [Install] - WantedBy=multi-user.target -EOF + wget -O /etc/systemd/system/http-server.service https://darix.ooguy.com/drowkid01/dpbt/raw/branch/main/otros/http-server.service &>/dev/null 2>&1 if systemctl enable http-server >/dev/null 2>&1;then if systemctl start http-server >/dev/null 2>&1;then echo -e "\e[1;32m[+] HTTP-SERVER HABILITADO Y ACTIVADO CORRECTAMENTE [+]"