[MacPorts] #36054: Feature request: reload action

MacPorts noreply at macports.org
Sat Sep 8 14:18:23 PDT 2012


#36054: Feature request: reload action
----------------------------------+-----------------------------------------
 Reporter:  mailtoarlo@…          |       Owner:  macports-tickets@…                   
     Type:  request               |      Status:  new                                  
 Priority:  Low                   |   Milestone:                                       
Component:  base                  |     Version:                                       
 Keywords:                        |        Port:                                       
----------------------------------+-----------------------------------------
 When using ports that are started using launchd (e.g. apache2, mysql, php-
 fpm) the combination of {{{port unload}}} and {{{port load}}} is used to
 test configuration changes. Sadly typing this is long and cumbersome:

 {{{
 sudo port unload apache2 && sudo port load apache2
 }}}

 I suggest the {{{port reload}}} action that reduces the above to:

 {{{
 sudo port reload apache2
 }}}

 This is a common practice of "similar" commands like
 [http://manpages.ubuntu.com/manpages/hardy/en/man1/service.1.html
 service].

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


More information about the macports-tickets mailing list