x11-pulse-mga9/run.sh

17 lines
294 B
Bash
Raw Normal View History

2024-08-23 11:44:27 +02:00
#!/bin/bash
export APPL_HOME_DIR="$1"
shift
export APPL_NAME="$1"
shift
export USER_ID=$(id -u)
export GROUP_ID=$(id -g)
export GROUP_NAME=$(id -gn)
docker compose run --rm default /sbin/user_add_exec ${USER_ID} ${USER} ${HOME} ${GROUP_ID} ${GROUP_NAME} ${APPL_HOME_DIR}/${APPL_NAME} $*