[GH-ISSUE #132] Starting tail process after recieving http request #94

Closed
opened 2026-03-03 16:04:22 +03:00 by kerem · 2 comments
Owner

Originally created by @mikossheev on GitHub (Jul 16, 2018).
Original GitHub issue: https://github.com/mthenw/frontail/issues/132

Here is my case:
Frontail is used to monitor a bunch of folders with log files (one process per file, to view them separately).
There is a script that searches for the log files in directory, launches frontail and adds an nginx location for it.
Sometimes the quantity of processes getting to big, and recources are not used efficently.

Here is a question:
Is there a way to modify frontail for it to launch its own process, but the tail process to be launched only when there is a request to frontail?

Originally created by @mikossheev on GitHub (Jul 16, 2018). Original GitHub issue: https://github.com/mthenw/frontail/issues/132 Here is my case: Frontail is used to monitor a bunch of folders with log files (one process per file, to view them separately). There is a script that searches for the log files in directory, launches frontail and adds an nginx location for it. Sometimes the quantity of processes getting to big, and recources are not used efficently. Here is a question: Is there a way to modify frontail for it to launch its own process, but the tail process to be launched only when there is a request to frontail?
kerem closed this issue 2026-03-03 16:04:23 +03:00
Author
Owner

@ssbarnea commented on GitHub (Aug 10, 2018):

If I am not wrong what you are are looking is more of what I described in https://medium.com/@sbarnea/how-to-share-terminal-output-on-the-web-83bf73c05c4c article, where the closes solution I found was seashells.

I came to frontail while trying to find other alternatives but apparently frontail lack few critical feature like web server mode that could be used to serve "recordings" even after client disconnected, ability to auto-generate sharable urls and so on.

I am curious if @mthenw is looking to implement features like these in the future.

<!-- gh-comment-id:412130455 --> @ssbarnea commented on GitHub (Aug 10, 2018): If I am not wrong what you are are looking is more of what I described in https://medium.com/@sbarnea/how-to-share-terminal-output-on-the-web-83bf73c05c4c article, where the closes solution I found was seashells. I came to frontail while trying to find other alternatives but apparently frontail lack few critical feature like web server mode that could be used to serve "recordings" even after client disconnected, ability to auto-generate sharable urls and so on. I am curious if @mthenw is looking to implement features like these in the future.
Author
Owner

@mthenw commented on GitHub (Aug 13, 2018):

@ssbarnea TBH I don't think it's a goal of frontail. I think it should stay small.

<!-- gh-comment-id:412430803 --> @mthenw commented on GitHub (Aug 13, 2018): @ssbarnea TBH I don't think it's a goal of frontail. I think it should stay small.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/frontail#94
No description provided.