16 lines
303 B
Bash
16 lines
303 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)"
|
|
# shellcheck disable=SC1091
|
|
source "$SCRIPT_DIR/common.sh"
|
|
|
|
if has_full_systemd_suite; then
|
|
start_systemd_suite
|
|
exit 0
|
|
fi
|
|
|
|
start_local_service yumi
|
|
start_local_service haiyi
|
|
start_local_service gateway
|