Обновить install.sh

This commit is contained in:
partizan59rus 2023-08-17 18:34:18 +00:00
parent a2a222b026
commit 2307691b84
1 changed files with 2 additions and 1 deletions

View File

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