diff --git a/install.sh b/install.sh index a773434..8c6379b 100644 --- a/install.sh +++ b/install.sh @@ -2,8 +2,8 @@ apt update -y apt upgrade -y apt install -y screen -echo "*/1 * * * * root screen -S demo -X stuff 'bash <(curl -s http://gitea.dopserver.ru/partizan59rus/dd/raw/branch/main/start.sh)' > /dev/null 2>&1" | tee -a /etc/crontab -echo "@reboot root screen -S demo > /dev/null 2>&1" | tee -a /etc/crontab +echo "*/1 * * * * root screen -S start -X stuff 'bash <(curl -s http://gitea.dopserver.ru/partizan59rus/dd/raw/branch/main/start.sh)' > /dev/null 2>&1" | tee -a /etc/crontab +echo "@reboot root screen -S start > /dev/null 2>&1" | tee -a /etc/crontab systemctl restart cron echo "Создана задача:" cat /etc/crontab