rc.subr extensions

Alexander at Leidinger.net Alexander at Leidinger.net
Wed Nov 10 12:10:17 GMT 2004


Zitat von Volker Stolz <stolz at i2.informatik.rwth-aachen.de>:

> Yes, 'make restart' won't work in all cases, so we should settle for
>   [stop] -> deinstall -> reinstall -> [start]

That's ok for me.

> [Or hand in one of your pointy hats for devising a mechanism to tell by
> OLD_PORTVERSION vs. NEW_PORTVERSION whether restarting or reconfiguring
> is required]

Store a CONFIGVERSION in +CONTENTS, if it differs from the CONFIGVERSION
in the new version of the port: don't start.

Bye,
Alexander.


More information about the freebsd-ports mailing list