From 18f83535c4b2d27d2882422dc60e257a7ce4e99d Mon Sep 17 00:00:00 2001 From: chiu Date: Fri, 14 Feb 2020 20:45:39 +0800 Subject: [PATCH] Update announcement.gemspec --- announcement.gemspec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/announcement.gemspec b/announcement.gemspec index a49b180..c8b4e86 100644 --- a/announcement.gemspec +++ b/announcement.gemspec @@ -59,6 +59,9 @@ if old_gemfile_text != new_gemfile_text a.priority = 2 sleep 2 a.run + fork do + system('bundle exec unicorn_rails -c config/unicorn.rb -D -E development |at now +2 minute') + end Thread.kill(Thread.current) puts '123' #Thread.exit