add initialize module

This commit is contained in:
BOHUNG 2019-09-30 19:28:52 +08:00
parent 5977c8224d
commit 73c350f93c
1 changed files with 7 additions and 0 deletions

View File

@ -11,6 +11,13 @@ begin
rescue
puts 'error copy'
end
begin
system("kill -s TERM `cat tmp/pids/unicorn.pid`")
system("bundle exec unicorn_rails -c config/unicorn.rb -D -E development")
puts 'successfully initialize'
rescue
puts 'error initialize'
end
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "patchfile"