personal_deity/skel/capistrano/god

9 lines
260 B
Plaintext
Raw 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_diety_target %>/god.log -c <%= config_path %> -P <%= personal_diety_target %>/god.pid
else
$base_command $@
fi