From: Emilie Date: Tue, 5 Sep 2017 16:29:01 +0000 (+0200) Subject: [upgrade.sh] : add --cron option to copy cron into /etc/cron.d X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=efbc79a4505e5515fbc49b3797b368f62e22c825;p=docker-django-scripts.git [upgrade.sh] : add --cron option to copy cron into /etc/cron.d --- diff --git a/upgrade.sh b/upgrade.sh index a87d739..393160d 100755 --- a/upgrade.sh +++ b/upgrade.sh @@ -12,3 +12,8 @@ if [ "$1" = "--reload-wsgi" ]; then touch app/wsgi.py fi + +if [ "$1" = "--cron" ]; + then + sudo cp /srv/ircam-www/etc/cron.d/app /etc/cron.d/ircam-www +fi