mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-29 00:18:39 +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
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