playframework - activator dist command does not finish on opsworks instances -
i'm having weird problem opsworks here.
i got script below.
#!/bin/sh cd /home/ubuntu/download/xxxxsite mkdir ranranran activator dist mkdir endendend cp target/universal/xxxxsite-1.0-snapshot.zip /home/ubuntu/deployment/ cd /home/ubuntu/deployment && unzip xxxxsite-1.0-snapshot.zip nohup ./xxxxsite-1.0-snapshot/bin/xxxxsite &
and it's loaded , executed recipt below.
script_name = "deploy" + pname + ".sh" log " --- start run script " + script_name + " --- " cookbook_file "/home/ubuntu/deploy_dist" source "#{script_name}" mode 0755 end execute "run_deploy" user "root" cwd "/home/ubuntu" command "./deploy_dist" end
the thing got both ranranran , endendend directories "activator dist" didn't finish @ all. supposed produce zip package got nothing. tried both deploy , execute recipe opsworks. however, reported success. couldn't have clue check what's going on. in short, problem worked excluding "activator dist".
please can explain why. appreciate help!
note: activator dist here should download list of dependences first , build zip
Comments
Post a Comment