This commit is contained in:
BoHung Chiu 2021-03-03 12:18:42 +08:00
parent 22eec5ccd9
commit f95e94fdfb
1 changed files with 1 additions and 0 deletions

View File

@ -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]