personal_deity/skel/capistrano/god
2012-07-03 22:42:58 -04:00

9 lines
260 B
Bash
Executable File

#!/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
else
$base_command $@
fi