danyspin97 / tt

A init/rc manager inspired by s6 and 66. Discontinued in favor of https://github.com/rinit-org/rinit
GNU General Public License v3.0
18 stars 3 forks source link

Start a service in the foreground #13

Open danyspin97 opened 4 years ago

danyspin97 commented 4 years ago

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.