forked ssh and installed tinc
This commit is contained in:
8
tinc/rootfs/etc/services.d/ttyd/finish
Normal file
8
tinc/rootfs/etc/services.d/ttyd/finish
Normal file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/execlineb -S1
|
||||
# ==============================================================================
|
||||
# Take down the S6 supervision tree when ttyd fails
|
||||
# ==============================================================================
|
||||
if { s6-test ${1} -ne 0 }
|
||||
if { s6-test ${1} -ne 256 }
|
||||
|
||||
s6-svscanctl -t /var/run/s6/services
|
||||
8
tinc/rootfs/etc/services.d/ttyd/run
Normal file
8
tinc/rootfs/etc/services.d/ttyd/run
Normal file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
# ==============================================================================
|
||||
# Start ttyd service for ingress
|
||||
# ==============================================================================
|
||||
bashio::log.info "Starting Web Terminal..."
|
||||
cd /root || bashio::exit.nok "Can't find root folder!"
|
||||
|
||||
exec ttyd -p 8099 tmux -u new -A -s homeassistant bash -l
|
||||
Reference in New Issue
Block a user