commit: b740f33032923e18de20051c88669c583af7d6fb Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> AuthorDate: Mon Nov 13 20:35:06 2017 +0000 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> CommitDate: Mon Nov 13 20:44:57 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b740f330
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 <robbat2 <AT> gentoo.org> app-backup/amanda/{amanda-3.5.ebuild => amanda-3.5-r1.ebuild} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 f59aebd6c04..7b97c5c5d9f 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 '[email protected]' + # 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 '[email protected]' - insinto /etc/amanda einfo "Installing .amandahosts File for ${AMANDA_USER_NAME} user" doins "${T}/amandahosts"
