2021-10-22 15:22:10 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2022-01-28 06:52:26 +00:00
|
|
|
# SPDX-FileCopyrightText: 2021-2022 Citadel and contributors
|
2021-10-22 15:22:10 +00:00
|
|
|
#
|
2022-01-21 20:37:48 +00:00
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
2021-10-22 15:22:10 +00:00
|
|
|
|
|
|
|
CITADEL_ROOT="$(readlink -f $(dirname "${BASH_SOURCE[0]}")/../..)"
|
|
|
|
|
|
|
|
signal="${1}"
|
|
|
|
command=${signal%%"-"*}
|
|
|
|
app=${signal#*"-"}
|
|
|
|
|
2022-02-01 17:50:59 +00:00
|
|
|
"${CITADEL_ROOT}/scripts/app" "${command}" "${app}"
|