Ticket #31464: beanstalkd-launchd.diff

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

proposed patch

  • Portfile

     
    3434
    3535startupitem.create      yes
    3636startupitem.executable  ${prefix}/bin/beanstalkd -u nobody
    37 
    38 post-activate {
    39     ui_msg "###########################################################"
    40     ui_msg "# To launch beanstalkd manually, run:"
    41     ui_msg "# "
    42     ui_msg "# sudo launchctl load -w /Library/LaunchDaemons/org.macports.beanstalkd.plist"
    43     ui_msg "# "
    44     ui_msg "# and to stop beanstalkd, run:"
    45     ui_msg "# "
    46     ui_msg "# sudo launchctl unload -w /Library/LaunchDaemons/org.macports.beanstalkd.plist"
    47     ui_msg "###########################################################"
    48 }