mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-28 16:08:38 +00:00
[skip ci] Add bangs to scripts, add update script
This commit is contained in:
parent
94ac4f41e9
commit
c0df2c302f
3 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
# Build script for production
|
# Build script for production
|
||||||
#
|
#
|
||||||
# No arguments
|
# No arguments
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
# Startup script for production
|
# Startup script for production
|
||||||
#
|
#
|
||||||
# $1: Server to start; case sensitive!!!!!
|
# $1: Server to start; case sensitive!!!!!
|
||||||
|
|
12
scripts-and-tools/update.sh
Normal file
12
scripts-and-tools/update.sh
Normal 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*
|
Loading…
Add table
Add a link
Reference in a new issue