cheatsheets devlog projects

ttyd Service

2022-11-08 1

My notes on daemonizing ttyd.

This is the ttyd.service file I created. I placed this in /etc/systemd/system/.

Description=ttyd Daemon

ExecStart=/usr/bin/ttyd -p 7201 -u 1030 -g 1030 bash


Then you can use systemctl to manage the service and to start it up. I also enabled it to run on boot.