Files
website/start_dev.sh

8 lines
286 B
Bash
Executable File

#!/bin/bash
echo '==== Cleaning up dead screens ===='
screen -wipe portfolio_devel
echo '==== Restarting Nginx ===='
rc-service nginx restart
echo '===== Starting server ===='
sudo -iu prod bash -c 'cd /development/website && node --permission --allow-fs-read=/development/website/* .'