Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F904688
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
Fri, Aug 29, 12:00 PM
Size
759 B
Mime Type
text/x-diff
Expires
Sun, Aug 31, 12:00 PM (1 d, 12 h)
Engine
blob
Format
Raw Data
Handle
252190
Attached To
rARCHIVING archiving
View Options
diff --git a/config/deploy.rb b/config/deploy.rb
index b31db9a..0eceda0 100644
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -1,22 +1,22 @@
# config valid only for Capistrano 3.1
-lock '3.2.1'
+#lock '3.2.1'
set :application, 'archiving'
set :deploy_to, '/srv/archiving'
set :linked_files, %w(config/database.yml config/database_bacula.yml config/secrets.yml config/bconsole.conf config/ssh.yml config/bacukey config/bacula.yml config/mailer.yml)
set :linked_dirs, %w(log tmp/pids tmp/cache tmp/sockets)
set :keep_releases, 5
namespace :deploy do
desc 'Restart application'
task :restart do
on roles(:app), in: :sequence, wait: 5 do
execute 'sudo unicornctl respawn'
end
end
after :publishing, :restart
end
Event Timeline
Log In to Comment