[haiku-bugs] Re: [Haiku] #12638: I'm using launch_daemon to start an application at boot, but I can no longer properly reboot or shutdown Haiku

  • From: "Giova84" <trac@xxxxxxxxxxxx>
  • Date: Thu, 04 Feb 2016 22:46:32 -0000

#12638: I'm using launch_daemon to start an application at boot, but I can no
longer properly reboot or shutdown Haiku
-------------------------------------+----------------------------
   Reporter:  Giova84                |      Owner:  axeld
       Type:  bug                    |     Status:  new
   Priority:  normal                 |  Milestone:  Unscheduled
  Component:  Servers/launch_daemon  |    Version:  R1/Development
 Resolution:                         |   Keywords:
 Blocked By:                         |   Blocking:
Has a Patch:  0                      |   Platform:  x86
-------------------------------------+----------------------------

Comment (by Giova84):

 Replying to [ticket:12638 Giova84]:

Now, instead, I made a configuration file called "polipo", placed inside
 /boot/system/data/user_launch with the following content:


{{{
      service x-vnd.Polipo-Proxy {
              launch /bin/polipo
              no_safemode
      }
}}}


 I've also tried using


 {{{
         job system-proxy {
                 launch /bin/polipo
                 no_safemode
         }
 }}}


 But the issue with reboot and shutdown is still here. So, maybe is not
 permitted to using the launch_daemon to run cli apps or bash script at
 startup? The fact is that the launch_deamon also permits to automatically
 relaunch apps when they crashs/fails, which would be very useful for
 background apps. I'm waiting for the reply from Axel :-)

--
Ticket URL: <https://dev.haiku-os.org/ticket/12638#comment:1>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: