[MacPorts] #27578: mpd: killing daemon with "launchctl -w unload ..." has no visible effect (kills wrong process)

MacPorts noreply at macports.org
Mon Dec 6 06:03:40 PST 2010


#27578: mpd: killing daemon with "launchctl -w unload ..." has no visible effect
(kills wrong process)
--------------------------+-------------------------------------------------
 Reporter:  greg@…        |       Owner:  milosh@…           
     Type:  defect        |      Status:  new                
 Priority:  Normal        |   Milestone:                     
Component:  ports         |     Version:  1.9.1              
 Keywords:                |        Port:  mpd                
--------------------------+-------------------------------------------------

Comment(by rmstonecipher@…):

 Greg,[[br]]
 I am glad you found a solution which works for you.[[br]][[br]]
 The launchd plist for dbus is much simpler than that for mpd.[[br]]
 In r49300, lines 121 through 167 explicitly write every line of the plist
 rather than utilizing MacPorts' startupitem routine.[[br]]
 One cannot run 'port load dbus' or 'port unload dbus' because load/unload
 looks for org.macports.[foo].plist and dbus provides org.freedesktop.dbus-
 system.plist.[[br]][[br]]
 Does your revised plist work with 'port load', or only with 'launchctl
 load'?[[br]]
 If you can either borrow from r49300 to write a simpler
 org.macports.mpd.plist or write a post-destroot routine to trim the fat
 from the startupitem generated files, ''and'' it can be run using port
 load/unload (i.e. no custom how-to-load message required), I take no issue
 with incorporating such a change into the mpd Portfile.[[br]][[br]]
 Ryan Stonecipher

-- 
Ticket URL: <https://trac.macports.org/ticket/27578#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list