[Groonga-commit] groonga/groonga [master] rpm centos: restart groonga-httpd on upgrade

Back to archive index

HAYASHI Kentaro null+****@clear*****
Tue Sep 4 17:10:35 JST 2012


HAYASHI Kentaro	2012-09-04 17:10:35 +0900 (Tue, 04 Sep 2012)

  New Revision: 3080271b12c9f95df416ee3847dc498371c6e44e
  https://github.com/groonga/groonga/commit/3080271b12c9f95df416ee3847dc498371c6e44e

  Log:
    rpm centos: restart groonga-httpd on upgrade
    
    refs #1456

  Modified files:
    packages/rpm/centos/groonga.spec.in

  Modified: packages/rpm/centos/groonga.spec.in (+5 -0)
===================================================================
--- packages/rpm/centos/groonga.spec.in    2012-09-04 17:05:33 +0900 (0f8d9ae)
+++ packages/rpm/centos/groonga.spec.in    2012-09-04 17:10:35 +0900 (fdd506a)
@@ -190,6 +190,11 @@ exit 0
 %post server
 /sbin/chkconfig --add groonga
 
+%post httpd
+if [ $1 = 2 ] ; then
+	/sbin/service groonga-httpd restart >/dev/null 2>&1 || :
+fi
+
 %post libs -p /sbin/ldconfig
 
 %post munin-plugins
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index