From b13f402055f9c71f040e459b39c489866a25681f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 27 Jan 2016 22:51:14 +0200 Subject: [PATCH] add restart hooks --- php-pecl-gearman.spec | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/php-pecl-gearman.spec b/php-pecl-gearman.spec index 6f202a6..680582d 100644 --- a/php-pecl-gearman.spec +++ b/php-pecl-gearman.spec @@ -73,6 +73,14 @@ EOF %clean rm -rf $RPM_BUILD_ROOT +%post +%php_webserver_restart + +%postun +if [ "$1" = 0 ]; then + %php_webserver_restart +fi + %files %defattr(644,root,root,755) %doc README CREDITS LICENSE ChangeLog -- 2.44.0