Story #9271
Updated by mdepaulo@redhat.com about 3 years ago
Now that pulpcore always requires gunicorn 20.0 or later, which added support for systemd Type=notify , the installer should put Type=notify in the systemd unit files. By switching from Type=simple (the default) to Type=notify, systemd will be able to understand better whether a pulpcore gunicorn process is actually up & running. gunicorn will send a message via sd_notify() (support added in 20.0), which prompts systemd to show that the service is `started`. This replace systemd simply indicating whether it has `started`, rather than just having spawned the process and it hasn't terminated. process. It will probably report "failed" understand that when the service it is just constantly restarting within seconds of starting, which would otherwise be reported an alternating service status. restarting, it is actually up. If any services on the same box are ever configured to depend on the pulp services, then they will also benefit from knowing when the services is actually up. This also brings us to parity with Katello's installer. Katello.