mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-15 05:11:49 +02:00
Spotbweb by @woutercoppens
This commit is contained in:
9
spotweb/rootfs/etc/services.d/phpfpm/finish
Normal file
9
spotweb/rootfs/etc/services.d/phpfpm/finish
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/execlineb -S0
|
||||
# ==============================================================================
|
||||
# Home Assistant Community Add-on: Bookstack
|
||||
# Take down the S6 supervision tree when PHP FPM fails
|
||||
# ==============================================================================
|
||||
if -n { s6-test $# -ne 0 }
|
||||
if -n { s6-test ${1} -eq 256 }
|
||||
|
||||
s6-svscanctl -t /var/run/s6/services
|
||||
6
spotweb/rootfs/etc/services.d/phpfpm/run
Normal file
6
spotweb/rootfs/etc/services.d/phpfpm/run
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
|
||||
bashio::log.info "Starting PHP-FPM..."
|
||||
|
||||
#/usr/sbin/php-fpm8 -F
|
||||
exec php-fpm8 --nodaemonize
|
||||
Reference in New Issue
Block a user