+ instagram service

This commit is contained in:
tmshv committed 2016-03-23 01:04:07 +03:00
1 parent 83c1e09c89
commit d15f9e162f
7 files changed
+185

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
dir_path="$1"
build_file="$2"
cd ${dir_path}
gunzip -c ${build_file} | tar xopf -
npm install --production --loglevel error
#starting www
if forever restart src/index.js; then
echo Instagram Microservice restarted
else
forever start src/index.js
echo Instagram Microservice started
fi