Initial commit

This commit is contained in:
2026-01-18 13:22:41 -05:00
commit b5c43a9663
58 changed files with 1835 additions and 0 deletions

10
start.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
echo '==== Cleaning up dead screens ===='
screen -wipe portfolio
echo '==== Killing old server ===='
sudo -iu prod fuser $(sudo -iu prod which node) -k
echo '==== Restarting Nginx ===='
rc-service nginx restart
echo '===== Starting server ===='
screen -dmS portfolio bash -c "sudo -iu prod bash -c 'cd /prod/portfolio && node --permission --allow-fs-read=/prod/portfolio/* .'"
echo 'boosh'