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.
23 lines
706 B
Text
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
|