Обновить install.sh

This commit is contained in:
partizan59rus 2023-08-17 19:05:39 +00:00
parent 33608993d3
commit 771852fc58
1 changed files with 2 additions and 2 deletions

View File

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