|
@@ -17,6 +17,7 @@ def start(args, logfile, errfile):
|
|
|
return 0
|
|
|
subprocess.check_call("rm -rf $RESIN_HOME/webapps/*", shell=True, stderr=errfile, stdout=logfile)
|
|
|
subprocess.check_call("cp servlet3-cass/target/servlet3-cass.war $RESIN_HOME/webapps/", shell=True, stderr=errfile, stdout=logfile)
|
|
|
+ subprocess.check_call("echo "desc keyspace tfb" | sudo cqlsh", shell=True, stderr=errfile, stdout=logfile)
|
|
|
subprocess.check_call("$RESIN_HOME/bin/resinctl start", shell=True, stderr=errfile, stdout=logfile)
|
|
|
return 0
|
|
|
except subprocess.CalledProcessError:
|