Opened 13 years ago

Closed 13 years ago

#31464 closed defect (fixed)

beanstalkd: remove redundant launchd instructions

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: nick@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: haspatch Cc:
Port: beanstalkd

Description

Installing beanstalkd looks like this:

--->  Fetching beanstalkd
--->  Attempting to fetch beanstalkd-1.4.6.tar.gz from http://xph.us/dist/beanstalkd/
--->  Verifying checksum(s) for beanstalkd
--->  Extracting beanstalkd
--->  Applying patches to beanstalkd
--->  Configuring beanstalkd
--->  Building beanstalkd
--->  Staging beanstalkd into destroot
--->  Creating launchd control script
###########################################################
# A startup item has been generated that will aid in
# starting beanstalkd with launchd. It is disabled
# by default. Execute the following command to start it,
# and to cause it to launch at startup:
#
# sudo port load beanstalkd
###########################################################
--->  Installing beanstalkd @1.4.6_2+universal
--->  Activating beanstalkd @1.4.6_2+universal
###########################################################
# To launch beanstalkd manually, run:
# 
# sudo launchctl load -w /Library/LaunchDaemons/org.macports.beanstalkd.plist
# 
# and to stop beanstalkd, run:
# 
# sudo launchctl unload -w /Library/LaunchDaemons/org.macports.beanstalkd.plist
###########################################################
--->  Cleaning beanstalkd

As you see, instructions for how to start beanstalkd are printed twice: once by MacPorts base, and a second time by the port itself. The solution is to remove the post-activate block in the port and just let MacPorts print the message.

Attachments (1)

beanstalkd-launchd.diff (756 bytes) - added by ryandesign (Ryan Carsten Schmidt) 13 years ago.
proposed patch

Download all attachments as: .zip

Change History (2)

Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: beanstalkd-launchd.diff added

proposed patch

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.