1
0
mirror of synced 2026-03-28 06:09:58 +01:00

Add files via upload

This commit is contained in:
d-two
2023-02-08 23:27:46 +01:00
committed by GitHub
parent 4228182fb8
commit c0fd42d532
36 changed files with 4465 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
#!/command/with-contenv bashio
bashio::log.info "Starting Nginx...."
exec /opt/base/sbin/nginx

View File

@@ -0,0 +1,16 @@
#!/command/with-contenv bashio
export DISPLAY=":0"
export XDG_DATA_HOME="/data/xdg/data"
export XDG_CONFIG_HOME="/data/xdg/config"
export XDG_CACHE_HOME="/data/xdg/cache"
export XDG_STATE_HOME="/data/xdg/state"
export XDG_RUNTIME_DIR="/data/runtime-root"
export HOME="/data/home"
mkdir -p ${XDG_DATA_HOME} ${XDG_CONFIG_HOME} ${XDG_CACHE_HOME} ${XDG_STATE_HOME} ${XDG_RUNTIME_DIR} ${HOME}
# Fix permissions
chmod 0700 ${XDG_RUNTIME_DIR}
bashio::log.info "Starting OpenBox...."
exec /usr/bin/openbox-session

View File

@@ -0,0 +1,4 @@
#!/command/with-contenv bashio
bashio::log.info "Starting Xvnc...."
exec /usr/bin/Xvnc -nolisten tcp -nolisten local -listen unix -geometry 1024x768 -depth 24 -rfbunixpath=/tmp/vnc.sock -SecurityTypes=None -desktop="MediaElch" :0