2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-09-29 00:31:09 +00:00

Suppress error output on try-restart

This commit is contained in:
Jarrod Johnson
2017-03-18 17:32:48 -04:00
parent 12ffdf9504
commit 0577c9a99c
+1 -1
View File
@@ -34,7 +34,7 @@ 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
if [ -x /usr/bin/systemctl ]; then /usr/bin/systemctl try-restart confluent >& /dev/null; fi
%clean
rm -rf $RPM_BUILD_ROOT