mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-29 18:56:04 +02:00
Revert "Align folders with updated upstream name"
This reverts commit 9fab19ae2d.
This commit is contained in:
9
bitwarden/rootfs/etc/services.d/nginx/finish
Normal file
9
bitwarden/rootfs/etc/services.d/nginx/finish
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/execlineb -S0
|
||||
# ==============================================================================
|
||||
# Home Assistant Community Add-on: Bitwarden
|
||||
# Take down the S6 supervision tree when Nginx fails
|
||||
# ==============================================================================
|
||||
if { s6-test ${1} -ne 0 }
|
||||
if { s6-test ${1} -ne 256 }
|
||||
|
||||
s6-svscanctl -t /var/run/s6/services
|
||||
10
bitwarden/rootfs/etc/services.d/nginx/run
Normal file
10
bitwarden/rootfs/etc/services.d/nginx/run
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
# shellcheck shell=bash
|
||||
# ==============================================================================
|
||||
# Home Assistant Community Add-on: Bitwarden
|
||||
# Runs the Nginx daemon
|
||||
# ==============================================================================
|
||||
bashio::net.wait_for 80
|
||||
bashio::log.info "Starting NGinx..."
|
||||
|
||||
exec nginx
|
||||
Reference in New Issue
Block a user