[skip ci] Add bangs to scripts, add update script

This commit is contained in:
jvyden 2022-06-11 19:03:04 -04:00
parent 94ac4f41e9
commit c0df2c302f
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278
3 changed files with 14 additions and 0 deletions

View file

@ -1,3 +1,4 @@
#!/bin/sh
# Build script for production
#
# No arguments

View file

@ -1,3 +1,4 @@
#!/bin/sh
# Startup script for production
#
# $1: Server to start; case sensitive!!!!!

View file

@ -0,0 +1,12 @@
#!/bin/sh
# Update script for production
#
# No arguments
# Called manually
sudo systemctl stop project-lighthouse*
cd /srv/lighthouse || return
sudo -u lighthouse -i /srv/lighthouse/build.sh
sudo systemctl start project-lighthouse*