--- rpms/smeserver-rabbitmq-server/contribs10/smeserver-rabbitmq-server.spec 2022/06/23 05:30:42 1.4 +++ rpms/smeserver-rabbitmq-server/contribs10/smeserver-rabbitmq-server.spec 2022/12/30 05:41:06 1.5 @@ -1,7 +1,7 @@ Name: smeserver-rabbitmq-server Version: 3.3.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Koozali SME Server integration of rabbitmq-server License: GPL URL: http://www.rabbitmq.com/ @@ -29,7 +29,10 @@ perl createlinks # could be an archive mkdir -p root/usr/lib/systemd/system/rabbitmq-server.service.d/ -printf "[Install] +printf "[Unit] +After=network-online.target + +[Install] WantedBy=sme-server.target" > root/usr/lib/systemd/system/rabbitmq-server.service.d/50-koozali.conf mkdir -p root/etc/e-smith/db/configuration/defaults/rabbitmq-server echo "enabled" > root/etc/e-smith/db/configuration/defaults/rabbitmq-server/status @@ -49,6 +52,9 @@ rm -rf %{buildroot} %changelog +* Fri Dec 30 2022 Jean-Philippe Pialasse 3.3.5-3.sme +- fix service failing to start on boot, waiting network-online.target + * Thu Jun 23 2022 Jean-Philippe Pialasse 3.3.5-2.sme - initial Koozali SME 10 version