git://git.onelab.eu
/
myplc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8aa3c6c
)
explicitly enable and start php-fpm when the rpm is found
author
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Fri, 16 Feb 2018 13:05:46 +0000
(14:05 +0100)
committer
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Wed, 21 Feb 2018 10:52:28 +0000
(11:52 +0100)
myplc.spec
patch
|
blob
|
history
diff --git
a/myplc.spec
b/myplc.spec
index
60a982c
..
c2b696d
100644
(file)
--- a/
myplc.spec
+++ b/
myplc.spec
@@
-201,6
+201,7
@@
if [ -x /sbin/chkconfig ] ; then
/sbin/chkconfig --add plc
/sbin/chkconfig plc on
fi
+rpm -q php-fpm >& /dev/null && { systemctl enable php-fpm; systemctl start php-fpm; }
%triggerpostun -- %{name}
# 0 = erase, 1 = upgrade