mirror of
https://github.com/hassio-addons/addon-thelounge.git
synced 2025-05-04 19:11:27 +00:00
Revert "🔨 Switch config directory to /config/thelounge"
This reverts commit 6d4e98cbaa
.
This commit is contained in:
parent
6d4e98cbaa
commit
2dae14468f
2 changed files with 7 additions and 2 deletions
|
@ -3,11 +3,16 @@
|
|||
# Community Hass.io Add-ons: The Lounge
|
||||
# This adds the default user and installs any requested themes
|
||||
# ==============================================================================
|
||||
export THELOUNGE_HOME=/config/thelounge
|
||||
export THELOUNGE_HOME=/data/thelounge
|
||||
|
||||
if ! bashio::fs.directory_exists "/data/thelounge"; then
|
||||
mkdir -p /data/thelounge
|
||||
fi
|
||||
|
||||
if ! bashio::fs.directory_exists "/config/thelounge/users"; then
|
||||
bashio::log.info "Creating thelounge directory in /config.."
|
||||
mkdir -p /config/thelounge/users
|
||||
ln -sf /config/thelounge/users /data/thelounge/users
|
||||
bashio::log.info "Creating default hassio user.."
|
||||
cp /etc/thelounge/users/hassio.json /config/thelounge/users
|
||||
else
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Community Hass.io Add-ons: The Lounge
|
||||
# Runs The Lounge server
|
||||
# ==============================================================================
|
||||
export THELOUNGE_HOME=/config/thelounge
|
||||
export THELOUNGE_HOME=/data/thelounge
|
||||
|
||||
bashio::log.info "Starting The Lounge server.."
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue