mirror of
https://github.com/runcitadel/core.git
synced 2024-11-14 18:00:40 +00:00
20 lines
545 B
Plaintext
20 lines
545 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
|
||
|
# SPDX-FileCopyrightText: 2020 Umbrel. https://getumbrel.com
|
||
|
# SPDX-FileCopyrightText: 2021 Aaron Dewes <aaron.dewes@web.de>
|
||
|
# SPDX-FileCopyrightText: 2021 https://github.com/o3o3o
|
||
|
#
|
||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||
|
|
||
|
set -euo pipefail
|
||
|
|
||
|
CITADEL_ROOT="$(readlink -f $(dirname "${BASH_SOURCE[0]}")/..)"
|
||
|
|
||
|
result=$(docker compose \
|
||
|
--file "${CITADEL_ROOT}/docker-compose.yml" \
|
||
|
--env-file "${CITADEL_ROOT}/.env" \
|
||
|
exec lnd lncli "$@")
|
||
|
|
||
|
# We need to echo with quotes to preserve output formatting
|
||
|
echo "$result"
|