6 lines
105 B
Bash
6 lines
105 B
Bash
tar -xvzf website.tar.gz
|
|
kill $(cat pid)
|
|
sleep 2
|
|
npm install
|
|
npm start > log 2>&1 & disown
|
|
echo $! > pid
|