diff --git a/confluent_server/confluent_server.spec.tmpl b/confluent_server/confluent_server.spec.tmpl index 315daea9..6a8c7aec 100644 --- a/confluent_server/confluent_server.spec.tmpl +++ b/confluent_server/confluent_server.spec.tmpl @@ -33,6 +33,9 @@ done grep -v confluent/__init__.py INSTALLED_FILES.bare > INSTALLED_FILES cat INSTALLED_FILES +%post +if [ -x /usr/bin/systemctl ]; then /usr/bin/systemctl try-restart confluent; fi + %clean rm -rf $RPM_BUILD_ROOT