mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-12 19:01:02 +01:00
Create finish
This commit is contained in:
8
qbittorrent/rootfs/etc/services.d/qbittorrent/finish
Normal file
8
qbittorrent/rootfs/etc/services.d/qbittorrent/finish
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/execlineb -S0
|
||||
# ==============================================================================
|
||||
# Take down the S6 supervision tree when the server fails
|
||||
# ==============================================================================
|
||||
if -n { s6-test $# -ne 0 }
|
||||
if -n { s6-test ${1} -eq 256 }
|
||||
|
||||
s6-svscanctl -t /var/run/s6/services
|
||||
Reference in New Issue
Block a user