feat: user container mgmt service + run on boot
This commit is contained in:
parent
1f1568b5fa
commit
c5fff9e6cf
4 changed files with 81 additions and 0 deletions
16
orchestrating/.profile
Normal file
16
orchestrating/.profile
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# Set XDG_CONFIG_HOME dir to default
|
||||
export XDG_CONFIG_HOME="$HOME/.config"
|
||||
|
||||
# Init XDG_RUNTIME_DIR directory for current user
|
||||
UID=$(id -u)
|
||||
|
||||
if test -z "${XDG_RUNTIME_DIR}"; then
|
||||
export XDG_RUNTIME_DIR=/tmp/xdg/$UID-xdg-runtime-dir
|
||||
if ! test -d "${XDG_RUNTIME_DIR}"; then
|
||||
mkdir -p "${XDG_RUNTIME_DIR}"
|
||||
chmod 0700 "${XDG_RUNTIME_DIR}"
|
||||
fi
|
||||
fi
|
||||
|
||||
#Start user default runlevel
|
||||
openrc -U default
|
||||
Loading…
Add table
Add a link
Reference in a new issue