Commit 5e4cde0d authored by Manfred Kutas's avatar Manfred Kutas

ZP-1375 Change state and log dirs and log rotation ownership to

root:z-push on RHEL based operating systems.

Released under the Affero GNU General Public License (AGPL) version 3.
parent 1ecfcba2
......@@ -467,13 +467,8 @@ service nginx reload || true
%zpush_dir/
%doc src/LICENSE
%if 0%{?suse_version}
%attr(770,wwwrun,z-push) %dir %_localstatedir/lib/z-push
%attr(770,wwwrun,z-push) %dir %_localstatedir/log/z-push
%else
%attr(750,apache,z-push) %dir %_localstatedir/lib/z-push
%attr(750,apache,z-push) %dir %_localstatedir/log/z-push
%endif
%attr(770,root,z-push) %dir %_localstatedir/lib/z-push
%attr(770,root,z-push) %dir %_localstatedir/log/z-push
%_bindir/z-push-admin
%_bindir/z-push-top
......
/var/log/z-push/*.log {
size 1k
create apache apache
create root z-push
compress
rotate 4
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment