[haiku-bugs] [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:03:11 -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
 Keywords:                         |   Blocked By:
 Blocking:                         |  Has a Patch:  0
 Platform:  x86                    |
-----------------------------------+------------------------------
 hrev50067

 Well, as I've said in the subject of this ticket, I'm currently using the
 launch daemon to run an app at startup: polipo proxy, a cli app
 http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/

 Before of the introduction of the launch daemon, I usually launch polipo
 using a  bash script placed in /boot/home/config/settings/boot/launch.
 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
         }
 }}}


 Everything works fine except for the fact that when I attempt to reboot or
 shutdown Haiku, an alert window told me that "polipo might be blocked on a
 modal panel during shutdown". I also tried to make a shutdown script where
 I try to pass the command "kill polipo", but the situation is always the
 same. I properly set the signature for polipo "application/x-vnd.Polipo-
 Proxy".
 Inside the syslog I don't see anything related to polipo or to the
 launch_daemon.
 I miss something?

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

Other related posts: