[copr] master: restart apache after upgrade of frontend (f7fc5b2)

msuchy at fedoraproject.org msuchy at fedoraproject.org
Fri Jun 28 18:17:05 UTC 2013


Repository : http://git.fedorahosted.org/cgit/copr.git

On branch  : master

>---------------------------------------------------------------

commit f7fc5b24d802a8da0a094e0b423c74a4d38c6987
Author: Miroslav Suchý <msuchy at redhat.com>
Date:   Fri Jun 28 20:07:09 2013 +0200

    restart apache after upgrade of frontend


>---------------------------------------------------------------

 copr.spec |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/copr.spec b/copr.spec
index 98be622..3d2e009 100644
--- a/copr.spec
+++ b/copr.spec
@@ -128,6 +128,9 @@ getent passwd copr-fe >/dev/null || \
 useradd -r -g copr-fe -G copr-fe -d %{_datadir}/copr/coprs_frontend -s /bin/bash -c "COPR frontend user" copr-fe
 /usr/bin/passwd -l copr-fe >/dev/null
 
+%post frontend
+service httpd condrestart
+
 %files backend
 %doc LICENSE README
 %dir %{_datadir}/copr



More information about the copr-devel mailing list