summaryrefslogtreecommitdiffstats
path: root/Makefile.Release
diff options
context:
space:
mode:
authorw.otsuka <w.otsuka>2005-05-29 06:43:28 +0000
committerw.otsuka <w.otsuka>2005-05-29 06:43:28 +0000
commit648d5271905e19fa806afc7f24bbe250cc7b5aa9 (patch)
tree09f054e27806421476091a65e1ae2d8d827579e0 /Makefile.Release
parenteb1e626f2500ac8cfa0e6ed82d148cfb8f134552 (diff)
downloadtog-pegasus-648d5271905e19fa806afc7f24bbe250cc7b5aa9.zip
tog-pegasus-648d5271905e19fa806afc7f24bbe250cc7b5aa9.tar.gz
tog-pegasus-648d5271905e19fa806afc7f24bbe250cc7b5aa9.tar.xz
BUG#: 3707
TITLE: Restart cimserver on tog-pegasus rpm upgrade DESCRIPTION: Add condrestart option to initscript - invoke condrestart on upgrade.
Diffstat (limited to 'Makefile.Release')
-rw-r--r--Makefile.Release3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.Release b/Makefile.Release
index 50b79c2..951ec4d 100644
--- a/Makefile.Release
+++ b/Makefile.Release
@@ -898,6 +898,9 @@ _append_postSectionToSpecFile: FORCE
@$(CAT) $(ROOT)/rpm/tog-specfiles/tog-pegasus-post.spec >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) "# End of section pegasus/rpm/tog-specfiles/tog-pegasus-post.spec" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) "" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
+ @$(ECHO-E) "elif [ \044\061 -gt 1 ]; then" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
+ @$(ECHO-E) "/sbin/service tog-pegasus condrestart" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
+ @$(ECHO-E) ":;" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) "fi" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
_append_postSectionToSpecFile_createSymbolicLinks: FORCE