ttyd icon indicating copy to clipboard operation
ttyd copied to clipboard

Add Support for init.d Autostart Configuration (for Docker Compatibility)

Open chankahou0968 opened this issue 6 months ago • 0 comments

Hello and thank you for maintaining ttyd — it’s an indispensable tool for lightweight web-based terminal access.

After installing ttyd via apt install ttyd, I noticed that only systemd-based autostart is provided. However, in Docker containers, systemd is typically unsupported or unavailable. This makes it difficult to configure ttyd to launch automatically within containerized environments.

Would you consider including init.d autostart support in future releases or documentation? Even an official init.d script would go a long way in enhancing ttyd's compatibility and ease of deployment in Docker and other minimalist setups.

Thanks again for your work and for considering this request!

chankahou0968 avatar Jul 02 '25 04:07 chankahou0968