Fix bug.
This commit is contained in:
parent
22eec5ccd9
commit
f95e94fdfb
|
@ -16,6 +16,7 @@ namespace :create_site do
|
|||
exec_command_by_user(ssh,cmd)
|
||||
exec_ssh_command_by_sudo(ssh,"service nginx restart")
|
||||
end
|
||||
site_construct.update(:domain_name=>args.server_name)
|
||||
end
|
||||
rescue => e
|
||||
puts [e,e.backtrace]
|
||||
|
|
Loading…
Reference in New Issue