]> git.pld-linux.org Git - packages/gitlab-ce.git/commitdiff
logrotate: add su directive gitlab-ce-8.12.5-0.76
authorElan Ruusamäe <glen@delfi.ee>
Thu, 13 Oct 2016 14:14:50 +0000 (17:14 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 13 Oct 2016 14:14:50 +0000 (17:14 +0300)
error: skipping "/var/log/gitlab/production.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.

gitlab.logrotate

index 996cd0559fa9fe40105f72134f50586f960062bd..2ea5edb73c1c6db3cb5f8ac80d892f2789fcf2c7 100644 (file)
@@ -9,6 +9,7 @@
        minsize 1M
        sharedscripts
 
+       su root git
        olddir /var/log/archive/gitlab
 
        postrotate
This page took 0.062386 seconds and 4 git commands to generate.