fixed updater
This commit is contained in:
parent
a2f268c09a
commit
0b36087846
@ -11,6 +11,9 @@ wget https://git.infra.timal.kz/djerom/public/raw/branch/master/srv/traefik.yml
|
|||||||
wget https://git.infra.timal.kz/djerom/public/raw/branch/master/srv/agent.yml
|
wget https://git.infra.timal.kz/djerom/public/raw/branch/master/srv/agent.yml
|
||||||
wget https://git.infra.timal.kz/djerom/public/raw/branch/master/srv/mysql.yml
|
wget https://git.infra.timal.kz/djerom/public/raw/branch/master/srv/mysql.yml
|
||||||
|
|
||||||
|
# copy base env file
|
||||||
|
curl https://git.infra.timal.kz/djerom/public/raw/branch/master/srv/.env.example | sed 's/\r$//' > .env
|
||||||
|
|
||||||
# install updater
|
# install updater
|
||||||
wget https://git.infra.timal.kz/djerom/public/raw/branch/master/srv/update.sh
|
curl https://git.infra.timal.kz/djerom/public/raw/branch/master/srv/update.sh | sed 's/\r$//' > update.sh
|
||||||
echo "*/3 * * * * /srv/update.sh" >> /etc/crontabs/root
|
echo "*/3 * * * * /srv/update.sh" | crontab -
|
||||||
Loading…
Reference in New Issue
Block a user