From 3f5be89ac466f2a8190e81449297768368d2182a Mon Sep 17 00:00:00 2001 From: Colin Seymour Date: Sat, 30 Mar 2024 12:00:52 +0000 Subject: [PATCH] Add modeline --- rootfs/etc/services.d/ghostfolio/finish | 1 + rootfs/etc/services.d/ghostfolio/run | 1 + rootfs/etc/services.d/nginx/finish | 1 + rootfs/etc/services.d/nginx/run | 1 + 4 files changed, 4 insertions(+) diff --git a/rootfs/etc/services.d/ghostfolio/finish b/rootfs/etc/services.d/ghostfolio/finish index 24dc4ba..be870c2 100644 --- a/rootfs/etc/services.d/ghostfolio/finish +++ b/rootfs/etc/services.d/ghostfolio/finish @@ -1,4 +1,5 @@ #!/command/with-contenv bashio +# -*- bash -*- # shellcheck shell=bash if [[ "${1}" -ne 0 ]] && [[ "${1}" -ne 256 ]]; then bashio::log.warning "Ghostfolio crashed, halting add-on" diff --git a/rootfs/etc/services.d/ghostfolio/run b/rootfs/etc/services.d/ghostfolio/run index 4c3ea36..30cc1b1 100644 --- a/rootfs/etc/services.d/ghostfolio/run +++ b/rootfs/etc/services.d/ghostfolio/run @@ -1,4 +1,5 @@ #!/command/with-contenv bashio +# -*- bash -*- # shellcheck shell=bash set -e bashio::log.info "Starting redis" diff --git a/rootfs/etc/services.d/nginx/finish b/rootfs/etc/services.d/nginx/finish index 3d908ee..546dcbb 100644 --- a/rootfs/etc/services.d/nginx/finish +++ b/rootfs/etc/services.d/nginx/finish @@ -1,4 +1,5 @@ #!/command/with-contenv bashio +# -*- bash -*- # shellcheck shell=bash if [[ "${1}" -ne 0 ]] && [[ "${1}" -ne 256 ]]; then bashio::log.warning "Nginx crashed, halting add-on" diff --git a/rootfs/etc/services.d/nginx/run b/rootfs/etc/services.d/nginx/run index f223e4d..394e955 100644 --- a/rootfs/etc/services.d/nginx/run +++ b/rootfs/etc/services.d/nginx/run @@ -1,4 +1,5 @@ #!/command/with-contenv bashio +# -*- bash -*- # shellcheck shell=bash mkdir /run/nginx exec nginx -g 'daemon off;error_log /proc/1/fd/1 error;' \ No newline at end of file