New way to install/run supervisor + plugins (#620)
* Use new layout for CLI/Supervisor Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch> * Fix install script * Fix config * Add docs * Fix shellcheck * Fix issue * rename package * Fix build * Fix apparmor
This commit is contained in:
@@ -1,16 +1,7 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# Load configs
|
||||
CONFIG_FILE=/mnt/data/hassos.json
|
||||
|
||||
# Read configs
|
||||
PROFILES_DIR="$(jq --raw-output '.apparmor // empty' ${CONFIG_FILE})"
|
||||
if [ -z "${PROFILES_DIR}" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
PROFILES_DIR="/mnt/data/${PROFILES_DIR}"
|
||||
PROFILES_DIR="/mnt/data/supervisor/apparmor"
|
||||
CACHE_DIR="${PROFILES_DIR}/cache"
|
||||
REMOVE_DIR="${PROFILES_DIR}/remove"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user