finit icon indicating copy to clipboard operation
finit copied to clipboard

Add support for running not only as PID 1

Open troglobit opened this issue 3 years ago • 5 comments

The process monitoring capabilities of Finit could be beneficial in use-cases other than just PID 1. One such example use-case is http://supervisord.org/

  • Configuration in ~/.config/finit.conf, requiring use of finit_rcsd path
  • Optionally configuration via -f path/to/.conf
  • API socket in /run/user/$(id -u)/finit/socket
  • Resource file in /run/user/$(id -u)/finit/.initrc

Note, this requires something similar to pam_systemd(8) to notify Finit of users logging in.

troglobit avatar Aug 23 '22 07:08 troglobit

i would get great use out of this feature off it existed

realistically is this on your roadmap at all?

aanderse avatar Apr 01 '25 21:04 aanderse

realistically is this on your roadmap at all?

It is, not short-term though. There's quite a few things I'd like to refactor and add support for, and since much of it will break backwards compatibility, it has been added to the 5.0 milestone.

troglobit avatar Apr 02 '25 04:04 troglobit

thanks for the information @troglobit

i will admit i have become quite interested in this excellent project of yours and it has filled a good chunk of my hobby time

purely for interest sake i would love if you could share any realistic development plans - to me it looks like the milestone issues you have cover other people's desires, not just yours... and since this appears to be at least partially a hobby for you too i don't expect those milestone issues too be something you work on

then again, maybe you just scratch itches as they come along and you don't have any hard plans or personal deadlines... in which case i will just enjoy new releases and features as they come 😄

thanks again!

aanderse avatar Apr 02 '25 13:04 aanderse

hey @troglobit i hate to ping on something like this but given how responsive you have been to all of my many other inquiries i thought it entirely possible that you simply missed my message/question above about your realistic development plans for finit

if you have any insight to share i appreciate, and if not then of course no worries - thanks!

aanderse avatar May 05 '25 22:05 aanderse

Cool project there, Finix, I like it! 💪 💯

Heh, I had missed this one! 😅 Sorry, but I get so many notifications ... now, regarding your inquiry. The only concrete plans that exist are the milestones. I have some reminders and notes to myself here and there, but nothing concrete. Finit was sprung out of a need at a previous company I worked at, when a friend and I left we created Infix, with Finit as its PID 1. So that's what mostly drives Finit development today -- requirements in Infix, customer requests, and when the team finds something in the system that could be done in a better way.

Sure, from time to time, users submit ideas and half-baked implementations that can spark sudden bursts of creativity and open up new opportunities that need exploring. I really want it all to fit together nicely and feel right to users and myself.

troglobit avatar May 06 '25 04:05 troglobit