mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-17 21:24:20 +01:00
Revert nginx change (#1871)
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## 0.1.2
|
||||
|
||||
- Revert restart nginx service on error
|
||||
|
||||
## 0.1.1
|
||||
|
||||
- Restart nginx service on error
|
||||
|
||||
@@ -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"],
|
||||
|
||||
8
vlc/rootfs/etc/services.d/nginx/finish
Normal file
8
vlc/rootfs/etc/services.d/nginx/finish
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user