Update run.sh

This commit is contained in:
Alexandre
2021-08-27 22:14:56 +02:00
committed by GitHub
parent 68bb7b2d88
commit 4c425b28fe

View File

@@ -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