Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F324346
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Nov 25, 6:52 PM
Size
740 B
Mime Type
text/x-diff
Expires
Wed, Nov 27, 6:52 PM (1 d, 17 h)
Engine
blob
Format
Raw Data
Handle
156025
Attached To
rWEBDNS WebDNS (edet4)
View Options
diff --git a/config/deploy.rb b/config/deploy.rb
index 0d03ca7..2c369e0 100644
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -1,24 +1,21 @@
-# config valid only for Capistrano 3.1
-lock '3.2.1'
-
set :application, 'webdns'
set :repo_url, 'https://repo.grnet.gr/diffusion/WEBDNS/webdns.git'
set :deploy_to, '/srv/webdns'
set :linked_files, %w(config/database.yml config/secrets.yml config/local_settings.rb)
set :linked_dirs, %w(log tmp/pids tmp/cache tmp/sockets)
set :keep_releases, 5
set :log_level, :info
namespace :deploy do
desc 'Restart application'
task :restart do
on roles(:app), in: :sequence, wait: 5 do
execute 'sudo unicornctl restart'
end
end
after :publishing, :restart
end
Event Timeline
Log In to Comment