Skip to content

Commit

Permalink
Add modeline
Browse files Browse the repository at this point in the history
  • Loading branch information
lildude committed Mar 30, 2024
1 parent 04afba3 commit 3f5be89
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions rootfs/etc/services.d/ghostfolio/finish
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
1 change: 1 addition & 0 deletions rootfs/etc/services.d/ghostfolio/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/command/with-contenv bashio
# -*- bash -*-
# shellcheck shell=bash
set -e
bashio::log.info "Starting redis"
Expand Down
1 change: 1 addition & 0 deletions rootfs/etc/services.d/nginx/finish
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
1 change: 1 addition & 0 deletions rootfs/etc/services.d/nginx/run
Original file line number Diff line number Diff line change
@@ -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;'

0 comments on commit 3f5be89

Please sign in to comment.