2018-12-29 01:13:09 +00:00
|
|
|
#!/bin/bash
|
2018-12-29 02:20:07 +00:00
|
|
|
sudo chown root. crontab
|
|
|
|
# --force-recreate is used to recreate container when crontab file has changed
|
|
|
|
unset VERSION; VERSION=$(git ls-remote ssh://git@git.scimetis.net:2222/yohan/docker-reverse-proxy.git| head -1 | cut -f 1|cut -c -10) sudo -E bash -c 'docker-compose up -d --force-recreate'
|
2018-12-29 01:13:09 +00:00
|
|
|
|