try leaving the init.d file in place
This commit is contained in:
parent
a11192d241
commit
6e9dab6188
1 changed files with 4 additions and 1 deletions
|
@ -145,7 +145,8 @@ all_ruby_prepare() {
|
|||
fi
|
||||
|
||||
# remove useless files
|
||||
rm -r lib/support/{deploy,init.d}
|
||||
rm -r lib/support/deploy
|
||||
rm -r lib/support/init.d/*
|
||||
use unicorn || rm config/unicorn.rb
|
||||
}
|
||||
|
||||
|
@ -179,6 +180,8 @@ all_ruby_install() {
|
|||
# using cp 'cause doins is slow
|
||||
cp -Rl * "${D}/${dest}"/
|
||||
|
||||
cp "${FILESDIR}/${rcscript}" "${D}/${dest}/lib/support/init.d/gitlab"
|
||||
|
||||
# install logrotate config
|
||||
dodir /etc/logrotate.d
|
||||
cat > "${D}/etc/logrotate.d/${MY_NAME}" <<-EOF
|
||||
|
|
Loading…
Reference in a new issue