Files
addons/ssh/rootfs/etc/services.d/ttyd/run
Pascal Vizeli a258fdc96d Fix certificate request logic & S6-Overlay (#1166)
* Fix certificate request logic (#1148)

* Fix Certbot logic

* Resolved multiple directory issue

* Only scan for directories

* Typo

* Quote the path passed to realpath

* Use find and awk and sort and tail instead of ls

* Add numeric flag to sort

* Remove unnecessary if..then in awk

* Update run.sh

* Update run.sh

* Update run.sh

Co-authored-by: Pascal Vizeli <pascal.vizeli@syshack.ch>

* S6-overlay

* Fix version

* Fix lint

* Fix check
2020-03-25 23:45:46 +01:00

8 lines
383 B
Plaintext

#!/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