Skip to content

Commit

Permalink
Revert nginx change (home-assistant#1871)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvizeli authored Feb 18, 2021
1 parent e89403e commit fe8f2af
Show file tree
Hide file tree
Showing 12 changed files with 52 additions and 4 deletions.
4 changes: 4 additions & 0 deletions almond/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.1.2

- Revert restart nginx service on error

## 1.1.1

- Fix issue with some Almond packages
Expand Down
2 changes: 1 addition & 1 deletion almond/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Almond",
"version": "1.1.1",
"version": "1.1.2",
"slug": "almond",
"description": "The home server version of Almond",
"url": "https://github.com/home-assistant/hassio-addons/blob/master/almond",
Expand Down
8 changes: 8 additions & 0 deletions almond/rootfs/etc/services.d/nginx/finish
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/execlineb -S1
# ==============================================================================
# Take down the S6 supervision tree based on service exit code
# ==============================================================================
if { s6-test ${1} -ne 0 }
if { s6-test ${1} -ne 256 }

s6-svscanctl -t /var/run/s6/services
4 changes: 4 additions & 0 deletions deconz/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 6.7.2

- Revert restart nginx service on error

## 6.7.1

- Restart nginx service on error
Expand Down
2 changes: 1 addition & 1 deletion deconz/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "deCONZ",
"version": "6.7.1",
"version": "6.7.2",
"slug": "deconz",
"description": "Control a Zigbee network with ConBee or RaspBee by Dresden Elektronik",
"arch": ["amd64", "armhf", "aarch64"],
Expand Down
8 changes: 8 additions & 0 deletions deconz/rootfs/etc/services.d/nginx/finish
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/execlineb -S1
# ==============================================================================
# Take down the S6 supervision tree based on service exit code
# ==============================================================================
if { s6-test ${1} -ne 0 }
if { s6-test ${1} -ne 256 }

s6-svscanctl -t /var/run/s6/services
4 changes: 4 additions & 0 deletions homematic/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 11.2.2

- Revert restart nginx service on error

## 11.2.1

- Restart nginx service on error
Expand Down
2 changes: 1 addition & 1 deletion homematic/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "HomeMatic CCU",
"version": "11.1.1",
"version": "11.1.2",
"slug": "homematic",
"description": "HomeMatic central based on OCCU",
"url": "https://github.com/home-assistant/hassio-addons/tree/master/homematic",
Expand Down
8 changes: 8 additions & 0 deletions homematic/rootfs/etc/services.d/nginx/finish
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/execlineb -S1
# ==============================================================================
# Take down the S6 supervision tree based on service exit code
# ==============================================================================
if { s6-test ${1} -ne 0 }
if { s6-test ${1} -ne 256 }

s6-svscanctl -t /var/run/s6/services
4 changes: 4 additions & 0 deletions vlc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.1.2

- Revert restart nginx service on error

## 0.1.1

- Restart nginx service on error
Expand Down
2 changes: 1 addition & 1 deletion vlc/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "VLC",
"version": "0.1.1",
"version": "0.1.2",
"slug": "vlc",
"description": "Turn you device into a Media Player with VLC",
"arch": ["amd64", "i386", "armv7", "aarch64"],
Expand Down
8 changes: 8 additions & 0 deletions vlc/rootfs/etc/services.d/nginx/finish
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/execlineb -S1
# ==============================================================================
# Take down the S6 supervision tree based on service exit code
# ==============================================================================
if { s6-test ${1} -ne 0 }
if { s6-test ${1} -ne 256 }

s6-svscanctl -t /var/run/s6/services

0 comments on commit fe8f2af

Please sign in to comment.