wrapperScript.sh 227 Bytes
Newer Older
1 2
#!/bin/bash

3
echo "Running server in the background"
4
cmd="pm2 start pm2.config.js"
Nikos Marinos's avatar
Nikos Marinos committed
5 6 7

$cmd &

8 9
sleep 30

10 11
echo "Running post_init.sh script"
./post_init.sh
Nikos Marinos's avatar
Nikos Marinos committed
12

13 14
echo "Initialization completed. PubSweet up running..."
tail -f /dev/null