From 6e9dab618852c9764e1c4db2ff001544066dc0e1 Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Thu, 9 Apr 2015 18:55:27 +0200 Subject: [PATCH] try leaving the init.d file in place --- www-apps/gitlabhq/gitlabhq-7.8.4.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/www-apps/gitlabhq/gitlabhq-7.8.4.ebuild b/www-apps/gitlabhq/gitlabhq-7.8.4.ebuild index 6fc3f45..1d5f889 100644 --- a/www-apps/gitlabhq/gitlabhq-7.8.4.ebuild +++ b/www-apps/gitlabhq/gitlabhq-7.8.4.ebuild @@ -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