diff options
Diffstat (limited to 'modules/role/templates/caldance')
-rw-r--r-- | modules/role/templates/caldance/manage.sh.erb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/role/templates/caldance/manage.sh.erb b/modules/role/templates/caldance/manage.sh.erb new file mode 100644 index 0000000..ab08618 --- /dev/null +++ b/modules/role/templates/caldance/manage.sh.erb | |||
@@ -0,0 +1,10 @@ | |||
1 | #!/usr/bin/env bash | ||
2 | |||
3 | set -a | ||
4 | <% @environment.each do |env, val| %> | ||
5 | <%= env %>="<%= val %>" | ||
6 | <% end %> | ||
7 | source <%= @home %>/caldance_env | ||
8 | set +a | ||
9 | |||
10 | <%= @python_path %> -O <%= @caldance_app %>/manage.py "$@" | ||