Add set -e

This commit is contained in:
Alexandre
2023-10-03 20:02:29 +02:00
committed by GitHub
parent ecf0229464
commit c55f3c6752
186 changed files with 194 additions and 8 deletions

View File

@@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
set -e
# If dockerfile failed install manually # If dockerfile failed install manually

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# ============================================================================== # ==============================================================================
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
################################### ###################################
# Export all addon options as env # # Export all addon options as env #

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
###################### ######################
# MOUNT LOCAL SHARES # # MOUNT LOCAL SHARES #

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# shellcheck disable= # shellcheck disable=
#################### ####################
@@ -20,7 +21,7 @@ if bashio::config.has_value 'networkdisks'; then
#################### ####################
# Define variables # # Define variables #
#################### ####################
# Set variables # Set variables
MOREDISKS=$(bashio::config 'networkdisks') MOREDISKS=$(bashio::config 'networkdisks')
USERNAME=$(bashio::config 'cifsusername') USERNAME=$(bashio::config 'cifsusername')
@@ -57,7 +58,7 @@ if bashio::config.has_value 'networkdisks'; then
################## ##################
# Mounting disks # # Mounting disks #
################## ##################
# shellcheck disable=SC2086 # shellcheck disable=SC2086
for disk in ${MOREDISKS//,/ }; do # Separate comma separated values for disk in ${MOREDISKS//,/ }; do # Separate comma separated values
@@ -145,7 +146,7 @@ if bashio::config.has_value 'networkdisks'; then
&& MOUNTED=true && MOUNTOPTIONS="$SMBVERS$SECVERS$PUIDPGID$CHARSET$DOMAIN" || MOUNTED=false && MOUNTED=true && MOUNTOPTIONS="$SMBVERS$SECVERS$PUIDPGID$CHARSET$DOMAIN" || MOUNTED=false
fi fi
done done
fi fi
# Messages # Messages

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
slug="${HOSTNAME#*-}" slug="${HOSTNAME#*-}"
bashio::log.info "Execute /config/addons_autoscripts/${slug}.sh if existing" bashio::log.info "Execute /config/addons_autoscripts/${slug}.sh if existing"

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# shellchek disable=SC2015 # shellchek disable=SC2015
JSONTOCHECK='/config/transmission/settings.json' JSONTOCHECK='/config/transmission/settings.json'

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# shellcheck disable=SC2155,SC1087,SC2163,SC2116,SC2086 # shellcheck disable=SC2155,SC1087,SC2163,SC2116,SC2086
################## ##################

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# Disables ingress and sets a default index # Disables ingress and sets a default index

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
############### ###############
# DNS SETTING # # DNS SETTING #

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
############### ###############
# SILENT MODE # # SILENT MODE #

View File

@@ -1,4 +1,5 @@
#!/usr/bin/env bashio #!/usr/bin/env bashio
set -e
if bashio::config.has_value "graphic_driver"; then if bashio::config.has_value "graphic_driver"; then

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
CONFIGSOURCE=$(bashio::config "CONFIG_LOCATION") CONFIGSOURCE=$(bashio::config "CONFIG_LOCATION")
CONFIGSOURCE="$(dirname "${CONFIGSOURCE}")" CONFIGSOURCE="$(dirname "${CONFIGSOURCE}")"

View File

@@ -1,5 +1,6 @@
#!/bin/sh #!/bin/sh
# shellcheck disable=SC2015 # shellcheck disable=SC2015
set -e
############################## ##############################
# Automatic apps download # # Automatic apps download #

View File

@@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
set -e
######## ########
# INIT # # INIT #

View File

@@ -1,5 +1,6 @@
#!/bin/sh #!/bin/sh
# shellcheck disable=SC2015 # shellcheck disable=SC2015
set -e
############################## ##############################
# Automatic modules download # # Automatic modules download #

View File

@@ -1,5 +1,6 @@
#!/command/with-contenv bashio #!/command/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
echo "Starting..." echo "Starting..."
#################### ####################

View File

@@ -1,4 +1,5 @@
#!/bin/sh #!/bin/sh
set -e
########################################## ##########################################
# Global modifications before entrypoint # # Global modifications before entrypoint #

View File

@@ -1,5 +1,6 @@
#!/bin/sh #!/bin/sh
# shellcheck disable=SC2013,SC2016,SC2236 # shellcheck disable=SC2013,SC2016,SC2236
set -e
############################# #############################
# Modify global lsio images # # Modify global lsio images #

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
########## ##########
# UPDATE # # UPDATE #
@@ -129,7 +130,7 @@ for f in */; do
jq '.results | .[] | .name' -r | jq '.results | .[] | .name' -r |
sed -e '/.*latest.*/d' | sed -e '/.*latest.*/d' |
sed -e '/.*dev.*/!d' | sed -e '/.*dev.*/!d' |
sed -e "/.*$EXCLUDE_TEXT.*/d" | sed -e "/.*$EXCLUDE_TEXT.*/d" |
sort -V | sort -V |
tail -n 1 tail -n 1
) )
@@ -140,7 +141,7 @@ for f in */; do
sed -e '/.*latest.*/d' | sed -e '/.*latest.*/d' |
sed -e '/.*dev.*/d' | sed -e '/.*dev.*/d' |
sed -e '/.*nightly.*/d' | sed -e '/.*nightly.*/d' |
sed -e "/.*$EXCLUDE_TEXT.*/d" | sed -e "/.*$EXCLUDE_TEXT.*/d" |
sort -V | sort -V |
tail -n 1 tail -n 1
) && \ ) && \

View File

@@ -1,5 +1,6 @@
#!/usr/bin/env bashio #!/usr/bin/env bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# Avoid unbound variables # Avoid unbound variables
set +u set +u

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
if [ ! -d /data/autobrr ]; then if [ ! -d /data/autobrr ]; then
echo "Creating /data/autobrr" echo "Creating /data/autobrr"

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
################# #################
# NGINX SETTING # # NGINX SETTING #

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
############### ###############
# Start nginx # # Start nginx #

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
if [ -d /config/binance-trading-bot ]; then if [ -d /config/binance-trading-bot ]; then
echo "Moving to new location /config/addons_config/binance-trading-bot" echo "Moving to new location /config/addons_config/binance-trading-bot"

View File

@@ -1,5 +1,6 @@
#!/usr/bin/bashio #!/usr/bin/bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
################# #################
# NGINX SETTING # # NGINX SETTING #

View File

@@ -1,5 +1,6 @@
#!/usr/bin/env bashio #!/usr/bin/env bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
############## ##############
# Export env # # Export env #

View File

@@ -1,5 +1,6 @@
#!/command/with-contenv bashio #!/command/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Bitwarden # Home Assistant Community Add-on: Bitwarden
# This file configures nginx # This file configures nginx

View File

@@ -1,5 +1,6 @@
#!/command/with-contenv bashio #!/command/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Bitwarden # Home Assistant Community Add-on: Bitwarden
# Runs the Vaultwarden server # Runs the Vaultwarden server

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Bitwarden # Home Assistant Community Add-on: Bitwarden
# Runs the Nginx daemon # Runs the Nginx daemon

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# shellcheck disable=SC2046 # shellcheck disable=SC2046
# Define user # Define user

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# shellcheck disable=SC2015 # shellcheck disable=SC2015
# Install specific apps # Install specific apps

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# nginx Path # nginx Path
NGINX_CONFIG=/etc/nginx/sites-available/ingress.conf NGINX_CONFIG=/etc/nginx/sites-available/ingress.conf

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# Define user # Define user
PUID=$(bashio::config "PUID") PUID=$(bashio::config "PUID")

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
################# #################
# NGINX SETTING # # NGINX SETTING #

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# shellcheck disable=SC2015 # shellcheck disable=SC2015
# Set TZ # Set TZ

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# ============================================================================== # ==============================================================================
# Wait for transmission to become available # Wait for transmission to become available

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# Define user # Define user
PUID=$(bashio::config "PUID") PUID=$(bashio::config "PUID")

View File

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

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
bashio::log.info "Updating folder structure and permission" bashio::log.info "Updating folder structure and permission"

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
################# #################
# NGINX SETTING # # NGINX SETTING #

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
############### ###############
# SILENT MODE # # SILENT MODE #

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# ============================================================================== # ==============================================================================
# Wait for app to become available # Wait for app to become available

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
################# #################
# NGINX SETTING # # NGINX SETTING #

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# shellcheck disable=SC2155 # shellcheck disable=SC2155
##################### #####################

View File

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

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
################# #################
# NGINX SETTING # # NGINX SETTING #

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# shellcheck disable=SC2155 # shellcheck disable=SC2155
##################### #####################

View File

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

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# Define home # Define home
HOME="/config/addons_config/epicgamesfree" HOME="/config/addons_config/epicgamesfree"

View File

@@ -1,5 +1,6 @@
#!/usr/bin/env bashio #!/usr/bin/env bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
############## ##############
# Initialize # # Initialize #

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
if [ -d /config/filebrowser ]; then if [ -d /config/filebrowser ]; then
echo "Moving to new location /config/addons_config/filebrowser" echo "Moving to new location /config/addons_config/filebrowser"

View File

@@ -1,5 +1,6 @@
#!/usr/bin/env bashio #!/usr/bin/env bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
############ ############
# TIMEZONE # # TIMEZONE #

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,5 +1,6 @@
#!/usr/bin/env bashio #!/usr/bin/env bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
CONFIGSOURCE="/config/addons_config/fireflyiii_fints_importer" CONFIGSOURCE="/config/addons_config/fireflyiii_fints_importer"

View File

@@ -1,5 +1,6 @@
#!/usr/bin/env bashio #!/usr/bin/env bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
CONFIGSOURCE="/config/addons_config/fireflyiii_fints_importer" CONFIGSOURCE="/config/addons_config/fireflyiii_fints_importer"

View File

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

View File

@@ -1,5 +1,6 @@
#!/usr/bin/env bashio #!/usr/bin/env bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
bashio::log.warning "Warning - minimum configuration recommended : 2 cpu cores and 4 GB of memory. Otherwise the system will become unresponsive and crash." 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,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
slug=flexget slug=flexget

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# Define home # Define home
# Creating config location # Creating config location

View File

@@ -1,5 +1,6 @@
#!/usr/bin/env bashio #!/usr/bin/env bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
############## ##############
# Initialize # # Initialize #

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
##################### #####################
# Autodiscover mqtt # # Autodiscover mqtt #

View File

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

View File

@@ -1,5 +1,6 @@
#!/usr/bin/env bashio #!/usr/bin/env bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
for file in /data/gitea/conf/app.ini /etc/templates/app.ini; do for file in /data/gitea/conf/app.ini /etc/templates/app.ini; do

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
echo "Updating folders..." echo "Updating folders..."

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
mkdir -p /config/addons_config/guacamole/fonts mkdir -p /config/addons_config/guacamole/fonts
mkdir -p /config/addons_config/guacamole/postgres mkdir -p /config/addons_config/guacamole/postgres

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
################# #################
# NGINX SETTING # # NGINX SETTING #

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# ============================================================================== # ==============================================================================
# Wait for transmission to become available # Wait for transmission to become available

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
################# #################
# DATA_LOCATION # # DATA_LOCATION #

View File

@@ -1,5 +1,6 @@
#!/usr/bin/env bashio #!/usr/bin/env bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# shellcheck disable=SC2155,SC2016 # shellcheck disable=SC2155,SC2016
################################### ###################################

View File

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

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
LOCATION=$(bashio::config 'data_location') LOCATION=$(bashio::config 'data_location')

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
################# #################
# NGINX SETTING # # NGINX SETTING #

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# Define user # Define user
PUID=$(bashio::config "PUID") PUID=$(bashio::config "PUID")

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
#Set variable #Set variable
db=%%LOCATION%%/data/data/library.db db=%%LOCATION%%/data/data/library.db

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# ============================================================================== # ==============================================================================
# Wait for transmission to become available # Wait for transmission to become available

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# Create files # Create files
CONFIG_LOCATION="/config/addons_config/jellyseer" CONFIG_LOCATION="/config/addons_config/jellyseer"

View File

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

View File

@@ -1,5 +1,6 @@
#!/usr/bin/env bashio #!/usr/bin/env bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# shellcheck disable=SC2155 # 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." 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,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
if [ ! -d /share/music ]; then if [ ! -d /share/music ]; then
echo "Creating /share/music" echo "Creating /share/music"

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
if bashio::config.true 'ssl'; then if bashio::config.true 'ssl'; then

View File

@@ -1,5 +1,6 @@
#!/usr/bin/env bashio #!/usr/bin/env bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
if [ ! -f /started ]; then if [ ! -f /started ]; then

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
#################################### ####################################
# Clean nginx files at each reboot # # Clean nginx files at each reboot #

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
if bashio::config.has_value "PUID" && bashio::config.has_value "PGID"; then if bashio::config.has_value "PUID" && bashio::config.has_value "PGID"; then
PUID="$(bashio::config "PUID")" PUID="$(bashio::config "PUID")"

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# Runs only after initialization done # Runs only after initialization done
# shellcheck disable=SC2128 # shellcheck disable=SC2128

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# Runs only after initialization done # Runs only after initialization done
# shellcheck disable=SC2128 # shellcheck disable=SC2128

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
if bashio::config.true 'use_own_certs'; then if bashio::config.true 'use_own_certs'; then

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# Runs only after initialization done # Runs only after initialization done
# shellcheck disable=SC2128 # shellcheck disable=SC2128

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# shellcheck disable=SC2086 # shellcheck disable=SC2086
# Runs only after initialization done # Runs only after initialization done

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# Runs only after initialization done # Runs only after initialization done
# shellcheck disable=SC2128 # shellcheck disable=SC2128

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# Runs only after initialization done # Runs only after initialization done
# shellcheck disable=SC2128 # shellcheck disable=SC2128

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
slug=nzbget slug=nzbget

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
################# #################
# NGINX SETTING # # NGINX SETTING #

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
set -e
# ============================================================================== # ==============================================================================
# Wait for transmission to become available # Wait for transmission to become available

View File

@@ -1,5 +1,6 @@
#!/bin/bash #!/bin/bash
# shellcheck shell=bash # shellcheck shell=bash
set -e
CONFIGSOURCE="/data" CONFIGSOURCE="/data"

View File

@@ -1,5 +1,6 @@
#!/bin/bash #!/bin/bash
# shellcheck shell=bash # shellcheck shell=bash
set -e
CONFIGSOURCE="/data" CONFIGSOURCE="/data"

Some files were not shown because too many files have changed in this diff Show More