Merge branch 'version-1' of https://github.com/samply/bridgehead into version-1

Conflicts:
	landing/index.html
	lib/generate.sh
	lib/setup-bridgehead-units.sh
This commit is contained in:
root
2022-05-04 13:59:09 +02:00
8 changed files with 99 additions and 4 deletions

View File

@@ -3,6 +3,7 @@
source lib/functions.sh
<<<<<<< HEAD
exitIfNotRoot
if [ $# -eq 0 ]; then
@@ -17,6 +18,8 @@ fi
export project=$1
=======
>>>>>>> 290fe5459d7399ff23a2a8db067c1728858350d5
if ! ./lib/prerequisites.sh; then
log "Prerequisites failed, exiting"
exit 1
@@ -40,4 +43,4 @@ if ! systemctl is-active --quiet bridgehead@"${project}"; then
systemctl enable --now bridgehead-update@"${project}".timer
fi
echo -e "\nDone - now start your bridgehead by running\n\tsystemctl start bridgehead@${project}.service\nor by rebooting your machine."
echo -e "\nDone - now start your bridgehead by running\n\tsystemctl start bridgehead@${project}.service\nor by rebooting your machine."