Skip to content
Snippets Groups Projects
Commit 19dcea4f authored by Gabriel Engel's avatar Gabriel Engel
Browse files

finish the build inside the same directory where it started

parent f19d7a42
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,6 @@ if [ $1 ]; then ...@@ -10,6 +10,6 @@ if [ $1 ]; then
meteor build --server rocket.chat --directory /var/www/rocket.chat meteor build --server rocket.chat --directory /var/www/rocket.chat
cd /var/www/rocket.chat/bundle/programs/server cd /var/www/rocket.chat/bundle/programs/server
npm install npm install
cd /var/www/rocket.chat cd /var/www/rocket.chat/current
pm2 startOrRestart /var/www/rocket.chat/current/pm2.$1.json pm2 startOrRestart /var/www/rocket.chat/current/pm2.$1.json
fi fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment