Created
August 15, 2021 11:25
-
-
Save phyesix/637321937ecd26efbe167503fbca63de to your computer and use it in GitHub Desktop.
Server Nodeapp Starter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find /home/nodeapps/web/ -name "app.sock" -exec rm -r "{}" \; | |
sleep 2 | |
pm2 restart all | |
sleep 30 | |
find /home/nodeapps/web/ -name "app.sock" -exec chmod -R 777 "{}" \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment