Commit 46f4d877 by Guba Sándor

stop services before migrate

parent 63743983
#!/bin/bash #!/bin/bash
sudo stop manager
sudo stop portal
source /home/{{ pillar['user'] }}/.virtualenvs/circle/bin/activate source /home/{{ pillar['user'] }}/.virtualenvs/circle/bin/activate
source /home/{{ pillar['user'] }}/.virtualenvs/circle/bin/postactivate source /home/{{ pillar['user'] }}/.virtualenvs/circle/bin/postactivate
python /home/{{ pillar['user'] }}/circle/circle/manage.py syncdb --all --noinput python /home/{{ pillar['user'] }}/circle/circle/manage.py syncdb --all --noinput
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment