This commit is contained in:
Alexandre
2022-02-18 13:28:08 +01:00
parent 97f8ca78ab
commit 258cb25ae4
20 changed files with 24 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
#!/usr/bin/env bashio
# shellcheck shell=bash
# Autodefine if not defined
if [ -n "$INTERFACE_NAME" ]; then

View File

@@ -1,4 +1,5 @@
#!/usr/bin/env bashio
# shellcheck shell=bash
#################
# NGINX SETTING #

View File

@@ -1,4 +1,5 @@
#!/usr/bin/env bashio
# shellcheck shell=bash
##################
# INITIALIZATION #

View File

@@ -1,4 +1,5 @@
#!/usr/bin/env bashio
# shellcheck shell=bash
##################
# INITIALIZATION #

View File

@@ -1,4 +1,5 @@
#!/usr/bin/env bashio
# shellcheck shell=bash
###################
# SSL CONFIG v1.0 #

View File

@@ -1,4 +1,5 @@
#!/usr/bin/env bashio
# shellcheck shell=bash
# hadolint ignore=SC2155
########

View File

@@ -1,4 +1,5 @@
#!/usr/bin/env bashio
# shellcheck shell=bash
(
bashio::log.info "Running update according to defined schedule"

View File

@@ -1,4 +1,5 @@
#!/usr/bin/env bashio
# shellcheck shell=bash
CONFIGSOURCE=$(bashio::config "CONFIG_LOCATION")
CONFIGSOURCE=$(dirname "$CONFIGSOURCE")

View File

@@ -1,4 +1,5 @@
#!/usr/bin/env bashio
# shellcheck shell=bash
CONFIGSOURCE=$(bashio::config "CONFIG_LOCATION")
CONFIGSOURCE="$(dirname "$CONFIGSOURCE")"

View File

@@ -1,4 +1,5 @@
#!/usr/bin/env bashio
# shellcheck shell=bash
PATHTOFILES="$(bashio::config "CONFIG_LOCATION")"
PATHTOFILES="$(dirname "${PATHTOFILES}")"

View File

@@ -1,4 +1,5 @@
#!/usr/bin/env bashio
# shellcheck shell=bash
bashio::log.warning "Warning - minimum configuration recommended : 2 cpu cores and 4 GB of memory. Otherwise the system will become unresponsive and crash."

View File

@@ -1,4 +1,5 @@
#!/usr/bin/env bashio
# shellcheck shell=bash
##############
# Launch App #

View File

@@ -1,4 +1,5 @@
#!/usr/bin/env bashio
# shellcheck shell=bash
#################
# Create config #

View File

@@ -1,4 +1,5 @@
#!/usr/bin/env bashio
# shellcheck shell=bash
################
# JOAL SETTING #

View File

@@ -1,4 +1,6 @@
#!/usr/bin/env bashio
# shellcheck shell=bash
# shellcheck disable=SC2155
bashio::log.warning "Warning - minimum configuration recommended : 2 cpu cores and 4 GB of memory. Otherwise the system will become unresponsive and crash."
@@ -61,5 +63,5 @@ export APP_BASE_URL=$(bashio::config 'APP_BASE_URL')
bashio::log.info 'Starting Joplin. Initial user is "admin@localhost" with password "admin"'
cd /home/joplin
cd /home/joplin || true
npm --prefix packages/server start

View File

@@ -1,4 +1,5 @@
#!/usr/bin/env bashio
# shellcheck shell=bash
##########
# BANNER #

View File

@@ -1,4 +1,5 @@
#!/usr/bin/env bashio
# shellcheck shell=bash
###################
# Define database #

View File

@@ -1,4 +1,5 @@
#!/usr/bin/env bashio
# shellcheck shell=bash
###########
# SCRIPTS #

View File

@@ -1,4 +1,5 @@
#!/usr/bin/env bashio
# shellcheck shell=bash
bashio::log.info "Starting Portainer..."

View File

@@ -1,4 +1,5 @@
#!/usr/bin/env bashio
# shellcheck shell=bash
####################
# GLOBAL VARIABLES #