forked from michael.heier/citadel-core
4b8c42bedd
* Start working on Fulcrum support * More work on fulcrum/electrs switching * Some fixes * Update FulcrumX * Some fixes * Some FulcrumX fixes * Fixes for apps which use the host network * More fixes for host mode apps * Stop installed apps during update * More work on service managment * Update docker-compose * Update FulcrumX * Fix update channel script * Update manager to 0.0.6 * add network settings for new UI (development) * set DEVICE_HOSTNAME env var * clean up println statements * build: don't run manager & middleware as root * build: update core images * Update some containers * Improve app manager wrapper script * Fix stop script * Add WIP release notes for 0.0.2 * More improvements to the app CLI * More information for c-lightning users * Update dashboard to 0.0.9 * Start cleaning the ports list * More cleanups to the reserved ports list * fix: update lightning container name * Update manager Co-authored-by: Philipp Walter <philippwalter@pm.me>
17 lines
494 B
Bash
Executable File
17 lines
494 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# SPDX-FileCopyrightText: 2021-2022 Citadel and contributors
|
|
#
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
NODE_ROOT="$(readlink -f $(dirname "${BASH_SOURCE[0]}")/..)"
|
|
|
|
# IN ${NODE_ROOT}/.env, change the UPDATE_CHANNEL to the desired channel ($1)
|
|
# If $1 is not given, fail
|
|
if [ -z "$1" ]; then
|
|
echo "Usage: $0 <channel>"
|
|
echo "Channel can currently either be 'stable' or 'beta'"
|
|
exit 1
|
|
fi
|
|
sed -i "s/UPDATE_CHANNEL=.*/UPDATE_CHANNEL=${1}/" "${NODE_ROOT}/.env"
|