ha-3dprinter-addons/3dprinter-octoprint/rootfs/etc/services.d/octoprint/finish
Fredrik Baberg 4982f00eb8 Update nginx
2022-06-27 16:51:33 +02:00

14 lines
528 B
Plaintext

#!/usr/bin/env bashio
# ==============================================================================
# Take down the S6 supervision tree when example fails
# s6-overlay docs: https://github.com/just-containers/s6-overlay
# ==============================================================================
# if [[ "$1" -ne 0 ]] && [[ "$1" -ne 256 ]]; then
# bashio::log.warning "Halt add-on"
# exec /run/s6/basedir/bin/halt
# fi
# bashio::log.info "Service restart after closing"
bashio::log.notice "Finish up OctoPrint..."