Обновить install.sh
This commit is contained in:
parent
a2a222b026
commit
2307691b84
|
@ -1,7 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
apt update -y
|
apt update -y
|
||||||
apt upgrade -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
|
systemctl restart cron
|
||||||
echo "Создана задача:"
|
echo "Создана задача:"
|
||||||
cat /etc/crontab
|
cat /etc/crontab
|
||||||
|
|
Loading…
Reference in New Issue