Create ttyd.service

This commit is contained in:
iamromulan
2024-02-26 19:15:36 -05:00
parent b1f001b066
commit 17c8b1f901

12
ttyd/systemd/ttyd.service Normal file
View File

@@ -0,0 +1,12 @@
[Unit]
Description=TTYD Service
After=network.target
[Service]
Type=simple
ExecStartPre=/bin/sleep 5
ExecStart=/usrdata/ttyd/ttyd -p 443 -t 'theme={"foreground":"white","background":"black"}' -t fontSize=25 --writable /usrdata/ttyd/scripts/ttyd.bash
Restart=on-failure
[Install]
WantedBy=multi-user.target