[lug] debianisms?

Rob Nagler nagler at bivio.biz
Tue Jun 19 17:21:59 MDT 2018


On Tue, Jun 19, 2018 at 5:09 PM, Lee Woodworth  wrote:

> So it seems that the systemd viewpoint is that installing a server
> package means to start it when installation finishes. I think this also
> happened with postfix and apache.


No. There's a thing calls a preset:
https://www.freedesktop.org/software/systemd/man/systemd.preset.html

What you see for CentOS 7 for systemctl status nginx is:

● nginx.service - The nginx HTTP and reverse proxy server
   Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor
preset: disabled)

Note the "vendor preset: disabled". Then in the RPM, the post_install
calls: systemctl preset nginx.service
This does nothing.

Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20180619/dd6e3eb6/attachment.html>


More information about the LUG mailing list