fix user shell -> needed for emerge --configure

fix file permissions for database.yml because there's a password in there!
This commit is contained in:
Manuel Friedli 2014-09-24 11:06:06 +02:00
parent 8bd815dc47
commit 0182fa1e4a
2 changed files with 4 additions and 2 deletions

View file

@ -1,3 +1,3 @@
AUX gitlab-ci-unicorn.init 1684 SHA256 13887832ca41bf45037918824c7ead731ac812eaeba7fcf2149b981f5649ec9a SHA512 8842684dae88331353fdd09554c7404a470238a0e66597a01b4b9dd875db7b5580b082fb4e230fd85e8fd66c276e789473e88c61584845c2b236c00ba79ea9ac WHIRLPOOL 745d07b9eb116dc5742981b3e0b0b36371bdd2e1629bb988643f806b0ace8927d3f16ead0536285272b4508c4961e8dd1583037871782958283aaaf6d1992fb0
DIST gitlab-ci-5.0.1.tar.gz 610139 SHA256 5ed7d6de964a05641e14ae6a7bd63e6f32fec345d8f2ea42e6882c67c2228bc1 SHA512 a10f4341001f12f9796594ba2bf1008cbead8ab3f5d98f9de2b56a3f2fc84322841b5bb3cbd596e46bba3ce0285e438ca7597c9f57b84d6231742f8aa64df736 WHIRLPOOL 7b62af01e1202542a3a3c5d947444ebbcee986d2c0c87ebf4191ef2c6e283d261cba675eb405343febd2cdabf028096dc62d7ab0eafa500d05d2033faeadf102
EBUILD gitlab-ci-5.0.1.ebuild 8463 SHA256 42315b221a2d5fd392510b6c22eb6edd35f6b9b776f71de2ad46524269498482 SHA512 db70f5f95772c46c099447ff2bff0fb8db0287792677fc59f2745497f49d016983d27deaa0270bfd9fbd2d3b06ff6933d31360898c75a9f8f2c6812551610401 WHIRLPOOL ef15ebbe598ed05c33d8343713f99166cb4566b6a51a4d14be2ee65588444e0faff53d437882b624addc3832edcb081c71685e6893c8b76b7091f4cde60105dc
EBUILD gitlab-ci-5.0.1.ebuild 8548 SHA256 1cc28369c49a8cbad90cb2775b15eb9db6bdbfa6d2df9deaa95a5f3243d4e751 SHA512 b5de0646a732b178d75b2c2b11270e27730f6dabbc1b649d5966bc56fd01e8476abae94676f3009fad90cc7813adad701964f7919e7cf27a3ed20ed3c99ea432 WHIRLPOOL 8fe86142ed2bd046bd4d6ee2bb0960b7029bc38266b635ed03574c36a8b8e4474ff665b0cd4d95228e1e35afc7a48521585d002078f0d950c3404f97720bba11

View file

@ -68,7 +68,7 @@ SIDEKIQ_QUEUES="runner,common,default"
pkg_setup() {
enewgroup gitlab_ci
enewuser gitlab_ci -1 /dev/null ${DEST_DIR} "gitlab_ci,cron"
enewuser gitlab_ci -1 /bin/bash ${DEST_DIR} "gitlab_ci,cron"
}
all_ruby_prepare() {
@ -177,6 +177,8 @@ all_ruby_install() {
# fix permissions
fowners -R ${MY_USER}:${MY_USER} ${dest} ${temp} ${logs} ${runs}
fowners ${MY_USER}:${MY_USER} ${conf}/database.yml
fperms 750 ${conf}/database.yml
## RC script ##