mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
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:
parent
9ab0f8a610
commit
2cab25b341
@ -64,6 +64,7 @@ rm -Rf $RPM_BUILD_ROOT
|
|||||||
getent passwd pandora >/dev/null || \
|
getent passwd pandora >/dev/null || \
|
||||||
/usr/sbin/useradd -d %{prefix}/pandora -s /bin/false -M -g 0 pandora
|
/usr/sbin/useradd -d %{prefix}/pandora -s /bin/false -M -g 0 pandora
|
||||||
exit 0
|
exit 0
|
||||||
|
chown pandora:root /var/log/pandora
|
||||||
|
|
||||||
%post
|
%post
|
||||||
if [ ! -d /etc/pandora ] ; then
|
if [ ! -d /etc/pandora ] ; then
|
||||||
@ -115,9 +116,6 @@ exit 0
|
|||||||
/usr/bin/pandora_agent
|
/usr/bin/pandora_agent
|
||||||
/usr/bin/pandora_agent_exec
|
/usr/bin/pandora_agent_exec
|
||||||
|
|
||||||
%defattr(-,pandora,root,770)
|
|
||||||
/var/log/pandora/
|
|
||||||
|
|
||||||
%defattr(755,pandora,root)
|
%defattr(755,pandora,root)
|
||||||
/usr/bin/tentacle_client
|
/usr/bin/tentacle_client
|
||||||
/etc/init.d/pandora_agent_daemon
|
/etc/init.d/pandora_agent_daemon
|
||||||
|
@ -65,6 +65,7 @@ if [ "`id pandora | grep uid | wc -l`" = 0 ]
|
|||||||
then
|
then
|
||||||
/usr/sbin/useradd -d %{prefix}/pandora -s /bin/false -M -g 0 pandora
|
/usr/sbin/useradd -d %{prefix}/pandora -s /bin/false -M -g 0 pandora
|
||||||
fi
|
fi
|
||||||
|
chown pandora:root /var/log/pandora
|
||||||
|
|
||||||
%post
|
%post
|
||||||
if [ ! -d /etc/pandora ] ; then
|
if [ ! -d /etc/pandora ] ; then
|
||||||
@ -115,9 +116,6 @@ exit 0
|
|||||||
/usr/bin/pandora_agent
|
/usr/bin/pandora_agent
|
||||||
/usr/bin/pandora_agent_exec
|
/usr/bin/pandora_agent_exec
|
||||||
|
|
||||||
%defattr(-,pandora,root,770)
|
|
||||||
/var/log/pandora/
|
|
||||||
|
|
||||||
%defattr(755,pandora,root)
|
%defattr(755,pandora,root)
|
||||||
/usr/bin/tentacle_client
|
/usr/bin/tentacle_client
|
||||||
/etc/init.d/pandora_agent_daemon
|
/etc/init.d/pandora_agent_daemon
|
||||||
|
Loading…
x
Reference in New Issue
Block a user