forked from michael.heier/citadel-core
14 lines
310 B
Plaintext
14 lines
310 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
|
||
|
# SPDX-FileCopyrightText: 2021 Citadel and contributors
|
||
|
#
|
||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||
|
|
||
|
CITADEL_ROOT="$(readlink -f $(dirname "${BASH_SOURCE[0]}")/../..)"
|
||
|
|
||
|
signal="${1}"
|
||
|
command=${signal%%"-"*}
|
||
|
app=${signal#*"-"}
|
||
|
|
||
|
"${CITADEL_ROOT}/app/app-manager.py" "${command}" "${app}"
|