Restarting services

Armin Pirkovitsch a.pirko at
Mon Sep 25 02:25:04 PDT 2006

Rene Ladan wrote:
> 2006/9/25, Erwin Van de Velde <erwin.vandevelde at>:
>> Dear all,
>> Almost every port containing a service stops the service before
>> updating but
>> does not restart it afterwards. I was wondering how difficult it can
>> be to
>> restart the updated service after installing the files? In my opinion, it
>> would be less error-prone than hoping for the administrator to remember
>> restarting all updated services...
>> While this depends on every port maintainer, a general guideline about
>> this
>> would help and encourage maintainers to do this.
> Sometimes the configuration changes, making it inadvisable to
> automatically restart the service.  But automatic restarting should be
> possible/desirable (IMO) if the configuration remains the same.

Well each server/service would need a program to check the syntax of the
current config file to ensure that it will work.
Otherwise, imho, you could only try and error which is not a clean solution.

Armin Pirkovitsch
a.pirko at

More information about the freebsd-ports mailing list