Commit c7a0e097 authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #666 in ZP/z-push from...

Merge pull request #666 in ZP/z-push from bugfix/ZP-1375-z-push-config-nginx-has-wrong-permissions to develop

* commit '5e4cde0d':
  ZP-1375 Change state and log dirs and log rotation ownership to root:z-push on RHEL based operating systems.
parents e30a77cf 5e4cde0d
...@@ -467,13 +467,8 @@ service nginx reload || true ...@@ -467,13 +467,8 @@ service nginx reload || true
%zpush_dir/ %zpush_dir/
%doc src/LICENSE %doc src/LICENSE
%if 0%{?suse_version} %attr(770,root,z-push) %dir %_localstatedir/lib/z-push
%attr(770,wwwrun,z-push) %dir %_localstatedir/lib/z-push %attr(770,root,z-push) %dir %_localstatedir/log/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
%_bindir/z-push-admin %_bindir/z-push-admin
%_bindir/z-push-top %_bindir/z-push-top
......
/var/log/z-push/*.log { /var/log/z-push/*.log {
size 1k size 1k
create apache apache create root z-push
compress compress
rotate 4 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