Removed /var/log/pandora/ from the files section of the agent's .spec

files to avoid conflicts with the server.
This commit is contained in:
Ramon Novoa 2015-10-20 12:01:53 +02:00
parent 9ab0f8a610
commit 2cab25b341
2 changed files with 2 additions and 6 deletions

View File

@ -64,6 +64,7 @@ rm -Rf $RPM_BUILD_ROOT
getent passwd pandora >/dev/null || \
/usr/sbin/useradd -d %{prefix}/pandora -s /bin/false -M -g 0 pandora
exit 0
chown pandora:root /var/log/pandora
%post
if [ ! -d /etc/pandora ] ; then
@ -115,9 +116,6 @@ exit 0
/usr/bin/pandora_agent
/usr/bin/pandora_agent_exec
%defattr(-,pandora,root,770)
/var/log/pandora/
%defattr(755,pandora,root)
/usr/bin/tentacle_client
/etc/init.d/pandora_agent_daemon

View File

@ -65,6 +65,7 @@ if [ "`id pandora | grep uid | wc -l`" = 0 ]
then
/usr/sbin/useradd -d %{prefix}/pandora -s /bin/false -M -g 0 pandora
fi
chown pandora:root /var/log/pandora
%post
if [ ! -d /etc/pandora ] ; then
@ -115,9 +116,6 @@ exit 0
/usr/bin/pandora_agent
/usr/bin/pandora_agent_exec
%defattr(-,pandora,root,770)
/var/log/pandora/
%defattr(755,pandora,root)
/usr/bin/tentacle_client
/etc/init.d/pandora_agent_daemon