summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElias Probst <mail@eliasprobst.eu>2015-10-23 23:25:09 +0200
committerElias Probst <mail@eliasprobst.eu>2015-10-25 20:45:00 +0100
commit4d732339911b0ea2aa9b994efe17a92d42281504 (patch)
tree423f1e500ba025d9f664f3206a6b392d40e654fb /dev-db/postgresql/postgresql-9999.ebuild
parentsys-cluster/neutron: remove this commit (diff)
downloadgentoo-4d732339911b0ea2aa9b994efe17a92d42281504.tar.gz
gentoo-4d732339911b0ea2aa9b994efe17a92d42281504.tar.bz2
gentoo-4d732339911b0ea2aa9b994efe17a92d42281504.zip
dev-db/postgresql: Handle RuntimeDirectory in systemd unit
Instead of using a separate `tmpfiles.d` definition to create `/run/postgresql`, let the service unit take care of it on its own. This prevents situations where the postgresql service can't start because `systemd-tmpfiles` wasn't run yet. Bug: https://bugs.gentoo.org/show_bug.cgi?id=563122 Package-Manager: portage-2.2.23
Diffstat (limited to 'dev-db/postgresql/postgresql-9999.ebuild')
-rw-r--r--dev-db/postgresql/postgresql-9999.ebuild2
1 files changed, 0 insertions, 2 deletions
diff --git a/dev-db/postgresql/postgresql-9999.ebuild b/dev-db/postgresql/postgresql-9999.ebuild
index 36e35fdb8ba3..c2fe866097b0 100644
--- a/dev-db/postgresql/postgresql-9999.ebuild
+++ b/dev-db/postgresql/postgresql-9999.ebuild
@@ -186,8 +186,6 @@ src_install() {
"${FILESDIR}/${PN}.service" | \
systemd_newunit - ${PN}-${SLOT}.service
- systemd_newtmpfilesd "${FILESDIR}"/${PN}.tmpfilesd ${PN}-${SLOT}.conf
-
newbin "${FILESDIR}"/${PN}-check-db-dir ${PN}-${SLOT}-check-db-dir
use pam && pamd_mimic system-auth ${PN}-${SLOT} auth account session