Opened 11 years ago

Last modified 10 years ago

#42487 closed enhancement

port reload or restart command — at Version 1

Reported by: xeron (Ivan Larionov) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.2.99
Keywords: Cc:
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Please implement port reload (or port restart) command, which will do something similar to:

port unload && port load

optional: without disabling/enabling OSX launchd autostart.

Change History (1)

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

Description: modified (diff)

At the moment, port load and port unload simply directly call launchctl. To my knowledge, there is no launchctl equivalent for a restart or reload command. Perhaps we should check if there is any literature on the best method to restart a launchd-controlled service.

Note: See TracTickets for help on using tickets.