diff --git a/joplin/rootfs/run.sh b/joplin/rootfs/run.sh index fc79ce416..d82040f44 100644 --- a/joplin/rootfs/run.sh +++ b/joplin/rootfs/run.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/bash echo "Warning - minimum configuration recommended : 2 cpu cores and 4 GB of memory. Otherwise the system will become unresponsive and crash." @@ -6,7 +6,6 @@ echo "Warning - minimum configuration recommended : 2 cpu cores and 4 GB of memo # LAUNCH APP # ############## -# Configure app -export APP_BASE_URL=$(bashio::config 'APP_BASE_URL') -bashio::log.info 'Starting Joplin' +export APP_BASE_URL=$(jq --raw-output ".APP_BASE_URL" "/data/config.json") +echo 'Starting Joplin' npm --prefix packages/server start