From 4c425b28fed49e5338f83c24b03d00555a7be449 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 27 Aug 2021 22:14:56 +0200 Subject: [PATCH] Update run.sh --- joplin/rootfs/run.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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