diaspora/config/deploy_config.yml.example
Alessio Caiazza 8632c8c40b capistrano deploy: let the user choose if running svc and svstat with sudo
Set svc_sudo to true in deploy_config.yml to use sudo.
The default value will be false, so that if the parameter is missing capistrano will behave exactly as before.
2012-02-04 17:59:30 +01:00

23 lines
706 B
Text

# Copyright (c) 2010-2011, Diaspora Inc. This file is
# licensed under the Affero General Public License version 3 or later. See
# the COPYRIGHT file.
production:
server: 'example.com'
deploy_to: '/var/www/diaspora'
current_dir: 'diaspora'
user: 'diaspora'
password: 'password'
rails_env: 'production'
repo: 'git://github.com/diaspora/diaspora.git'
#set svc_sudo to true if you want to run scv and svstat with sudo. default: false
svc_sudo: false
staging:
server: 'staging.example.com'
deploy_to: '/var/www/diaspora'
current_dir: 'diaspora'
user: 'diaspora'
password: 'password'
rails_env: 'staging'
repo: 'git://github.com/diaspora/diaspora.git'
svc_sudo: false