2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-25 19:10:10 +00:00

Try restarting confluent if running on update

This mitigates chance of confluent being stale.
This commit is contained in:
Jarrod Johnson 2017-01-20 15:50:12 -05:00
parent 486c322233
commit bc5efa8a7e

View File

@ -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