personal_deity/skel/capistrano/god

9 lines
260 B
Plaintext
Raw Permalink Normal View History

2012-07-03 21:54:07 +00:00
#!/bin/bash
base_command="bundle exec god -p <%= god_port %>"
if [ -z $1 ]; then
$base_command --log-level <%= god_log_level %> -l <%= personal_deity_target %>/god.log -c <%= config_path %> -P <%= personal_deity_target %>/god.pid
2012-07-03 21:54:07 +00:00
else
$base_command $@
fi