[haiku-bugs] Re: [Haiku] #15922: launch_daemon: add node monitoring for launch scripts

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Fri, 01 May 2020 12:12:19 -0000

#15922: launch_daemon: add node monitoring for launch scripts
------------------------------------+----------------------------
  Reporter:  X512                   |      Owner:  axeld
      Type:  bug                    |     Status:  new
  Priority:  normal                 |  Milestone:  Unscheduled
 Component:  Servers/launch_daemon  |    Version:  R1/Development
Resolution:                         |   Keywords:
Blocked By:                         |   Blocking:
  Platform:  All                    |
------------------------------------+----------------------------
Comment (by X512):

 I consider that if launch script is added, autostart jobs should be
 started and if launch script is removed, all jobs inside it should be
 stopped. launch_daemon should store list of loaded launch script files in
 RAM and each item should reference jobs declared in item.

If removing a launch script from the bfs (not packagefs of course, as
 that's read-only)

 Removing launch script inside package can be done by deactivating package.

I'll keep an eye on this and #15923.
 About #15923, currently I am consider only autostart and enable/disable
 persistent configuration. If you need something else please tell about it.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15922#comment:3>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: