Add systemd units, build & start production scripts to repo

This commit is contained in:
jvyden 2022-05-15 21:48:23 -04:00
commit 9486bde26c
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278
7 changed files with 67 additions and 0 deletions

View file

@ -0,0 +1,14 @@
# Build script for production
#
# No arguments
# Called manually
cd project-lighthouse || (echo "Source directory not found, pls clone properly~" && exit 1)
echo "Pulling latest changes..."
git pull
echo "Building..."
dotnet build -c Release
exit $? # Expose error code from build command