11 lines
232 B
Bash
Executable File
11 lines
232 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
APP="$(realpath "$BASH_SOURCE")"
|
|
APP_DIR="$(dirname "$APP")"
|
|
APP_NAME="$(basename "$APP_DIR")"
|
|
APP_SERVICES="${APP_DIR}.services"
|
|
if [ "$1" == "source" ]; then
|
|
return
|
|
fi
|
|
source "$APP_DIR/bin/runcmd" "$@"
|