[packages/gitlab-shell] own gitlab_shell_secret by git user

glen glen at pld-linux.org
Fri Sep 23 22:38:56 CEST 2016


commit 2681706af40094673140b9154d5786cb23fffaf3
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Sep 23 23:38:11 2016 +0300

    own gitlab_shell_secret by git user
    
    db:migrate task attempts to write it if the file is empty

 gitlab-shell.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gitlab-shell.spec b/gitlab-shell.spec
index 28e327c..420f136 100644
--- a/gitlab-shell.spec
+++ b/gitlab-shell.spec
@@ -105,7 +105,7 @@ fi
 %doc README.md CHANGELOG LICENSE
 %dir %{_sysconfdir}/gitlab
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gitlab/gitlab-shell-config.yml
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gitlab/.gitlab_shell_secret
+%attr(640,%{uname},%{gname}) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gitlab/.gitlab_shell_secret
 %dir %{_datadir}/%{name}
 %{_datadir}/%{name}/lib
 %dir %{_datadir}/%{name}/bin
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gitlab-shell.git/commitdiff/2681706af40094673140b9154d5786cb23fffaf3



More information about the pld-cvs-commit mailing list