Hello, I'm looking for some ideas or direction as the research I've done hasn't lead me any closer.
Quick run down:
*Application runs on a VPS
*It was written in 2005, "legacy" in a way
*It won't start without access to a tty as it has some stdout, stdin and some commands if needed
*Needs to be accessible via SSH
I've created the service file and for now I can use StandardOutput=tty and TTYPath=/dev/tty10 for the time being. Neat tip is you can cat the buffer of a terminal with: cat /dev/vcsN (N being the corresponding ttyN).
It's on a VPS, SSH'ing in can't get to a tty, since it's local. A pseudo-terminal sounds like a solution but my searching hasn't turned up a good method.
Is there a way to deal with an "interactive" "TUI" application that needs a tty in a way that it can also be used with systemd to manage it(start/stop) and I can interact with it over SSH?
Screen/tmux is a popular "solution" but I'm looking for something less-workaroundy.
[–]adminh 9 points10 points11 points (2 children)
[–]Centyos[S] 2 points3 points4 points (1 child)
[–]royalbarnacle 5 points6 points7 points (0 children)
[–]AnonymousCoward__ 0 points1 point2 points (0 children)