14 lines
219 B
Bash
Executable File
14 lines
219 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
cd /space/YellowLabTools
|
|
|
|
# Stop the server
|
|
forever stopall
|
|
|
|
# Keep the settings.json file
|
|
git stash
|
|
git pull
|
|
git stash pop
|
|
|
|
# Restart the server
|
|
forever start -c "node --stack-size=65500" server.js |