Complete refresh (#7)
This commit is contained in:
5
example/rootfs/etc/services.d/example/finish
Normal file
5
example/rootfs/etc/services.d/example/finish
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/execlineb -S1
|
||||
# ==============================================================================
|
||||
# Take down the S6 supervision tree when example fails
|
||||
# ==============================================================================
|
||||
s6-svscanctl -t /var/run/s6/services
|
||||
8
example/rootfs/etc/services.d/example/run
Normal file
8
example/rootfs/etc/services.d/example/run
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
# ==============================================================================
|
||||
# Start the example service
|
||||
# ==============================================================================
|
||||
|
||||
## Add your code here
|
||||
|
||||
bashio::log.info "Hello world"
|
||||
Reference in New Issue
Block a user