From: Robin H. Johnson Date: Mon, 13 Nov 2017 20:35:06 +0000 (-0800) Subject: app-backup/amanda: fix systemd perms. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=b740f33032923e18de20051c88669c583af7d6fb;p=gentoo.git app-backup/amanda: fix systemd perms. Fixes: https://bugs.gentoo.org/530150 Package-Manager: Portage-2.3.8, Repoman-2.3.3 Signed-off-by: Robin H. Johnson --- diff --git a/app-backup/amanda/amanda-3.5.ebuild b/app-backup/amanda/amanda-3.5-r1.ebuild similarity index 100% rename from app-backup/amanda/amanda-3.5.ebuild rename to app-backup/amanda/amanda-3.5-r1.ebuild index f59aebd6c048..7b97c5c5d9ff 100644 --- a/app-backup/amanda/amanda-3.5.ebuild +++ b/app-backup/amanda/amanda-3.5-r1.ebuild @@ -326,6 +326,10 @@ src_install() { einfo "Installing environment config file" doenvd "${MYFILESDIR}/${ENVDFILE}" + einfo "Installing systemd service and socket files for Amanda" + systemd_dounit "${FILESDIR}"/amanda.socket + systemd_newunit "${FILESDIR}"/amanda.service 'amanda@.service' + # Lock down next section (up until docs). insopts -m0640 # Installing Amanda Xinetd Services Definition @@ -343,10 +347,6 @@ src_install() { newins "${MYFILESDIR}/amanda-cron" amanda fi - einfo "Installing systemd service and socket files for Amanda" - systemd_dounit "${FILESDIR}"/amanda.socket - systemd_newunit "${FILESDIR}"/amanda.service 'amanda@.service' - insinto /etc/amanda einfo "Installing .amandahosts File for ${AMANDA_USER_NAME} user" doins "${T}/amandahosts"