summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2017-11-13 12:35:06 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2017-11-13 12:44:57 -0800
commitb740f33032923e18de20051c88669c583af7d6fb (patch)
tree225b315cbc7c2fdada079d80d06d16270ca51fae /app-backup/amanda
parentdev-php/webmozart-assert: amd64 stable wrt bug #635356 (diff)
downloadgentoo-b740f33032923e18de20051c88669c583af7d6fb.tar.gz
gentoo-b740f33032923e18de20051c88669c583af7d6fb.tar.bz2
gentoo-b740f33032923e18de20051c88669c583af7d6fb.zip
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@gentoo.org>
Diffstat (limited to 'app-backup/amanda')
-rw-r--r--app-backup/amanda/amanda-3.5-r1.ebuild (renamed from app-backup/amanda/amanda-3.5.ebuild)8
1 files changed, 4 insertions, 4 deletions
diff --git a/app-backup/amanda/amanda-3.5.ebuild b/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"