ProjectLighthouse/scripts-and-tools/update.sh

12 lines
No EOL
235 B
Bash

#!/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*