From b740f33032923e18de20051c88669c583af7d6fb Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Mon, 13 Nov 2017 12:35:06 -0800 Subject: [PATCH] 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 --- .../amanda/{amanda-3.5.ebuild => amanda-3.5-r1.ebuild} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename app-backup/amanda/{amanda-3.5.ebuild => amanda-3.5-r1.ebuild} (100%) 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" -- 2.26.2