git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
819db98
)
create logfile plcapi.log in /var/log and chown it to apache
author
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Sat, 17 Jun 2017 14:57:03 +0000
(16:57 +0200)
committer
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Sat, 17 Jun 2017 14:57:03 +0000
(16:57 +0200)
plcapi.spec
patch
|
blob
|
history
diff --git
a/plcapi.spec
b/plcapi.spec
index
5a8ed46
..
b1c32f5
100644
(file)
--- a/
plcapi.spec
+++ b/
plcapi.spec
@@
-123,8
+123,12
@@
install -D -m 644 wsdl/plcapi.wsdl $RPM_BUILD_ROOT/var/www/html/wsdl/plcapi.wsdl
#install -D -m 755 omf/reset_xmpp_pubsub_nodes.py $RPM_BUILD_ROOT/usr/bin/reset_xmpp_pubsub_nodes.py
#mkdir -p $RPM_BUILD_ROOT/var/log/omf
-#
Install ratelimit log
+#
Create log file for plcapi
mkdir -p $RPM_BUILD_ROOT/var/log
+touch $RPM_BUILD_ROOT/var/log/plcapi.log
+chown apache:apache $RPM_BUILD_ROOT/var/log/plcapi.log
+
+# Install ratelimit log
touch $RPM_BUILD_ROOT/var/log/plc_api_ratelimit.log
chown apache:apache $RPM_BUILD_ROOT/var/log/plc_api_ratelimit.log