tt icon indicating copy to clipboard operation
tt copied to clipboard

Start a service in the foreground

Open danyspin97 opened this issue 5 years ago • 0 comments

Some services could be needed to start in the foreground but still be supervised by the service manager. For example sway could be managed by tt so it can export environment variables (see #12).

A possible solution is a --foreground flag in tt-start. Example:

tt-start --foreground sway

tt-start could either read the serialized service in a file located in the livedir or get it through a request via the IPC socket.

danyspin97 avatar Nov 06 '20 10:11 danyspin97