Skip to content
Snippets Groups Projects
Commit 31ee731e authored by Yas Naoi's avatar Yas Naoi
Browse files

Issue #3251529 by yas, baldwinlouie: Fix a script issue of docker/template.yaml

parent a9c5449d
Branches 4.x
No related tags found
No related merge requests found
......@@ -340,7 +340,9 @@ Resources:
\$settings['cache']['default'] = 'cache.backend.memcache';
EOF
sudo docker exec -w $DOCKER_DIR $CONTAINER_NAME sh -c "drush -y cr"
{ sudo -u ubuntu echo "*/5 * * * * ubuntu sudo docker exec -w /var/www/cloud_orchestrator cloud-orchestrator sh -c 'drush cron' > /dev/null 2>&1 "; } > /etc/crontab
cp /etc/crontab /tmp/
echo "*/5 * * * * pi sudo docker exec -w /var/www/cloud_orchestrator cloud-orchestrator sh -c 'drush cron' > /dev/null 2>&1" >> /tmp/crontab
sudo cp /tmp/crontab /etc/
# CFn helper script installation
cd /tmp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment