try leaving the init.d file in place

This commit is contained in:
Manuel Friedli 2015-04-09 18:55:27 +02:00
parent a11192d241
commit 6e9dab6188

View file

@ -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