Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fhebv-0005SS-1h for pgsql-admin@arkaria.postgresql.org; Mon, 23 Jul 2018 17:27:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fhebt-0003Oa-1Q for pgsql-admin@arkaria.postgresql.org; Mon, 23 Jul 2018 17:27:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fhebs-0003OT-JH for pgsql-admin@lists.postgresql.org; Mon, 23 Jul 2018 17:27:00 +0000 Received: from truschnigg.info ([78.46.103.228]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fhebo-00074j-Dj for pgsql-admin@lists.postgresql.org; Mon, 23 Jul 2018 17:26:59 +0000 Received: from vault.lan (84-112-34-152.cable.dynamic.surfer.at [84.112.34.152]) (Authenticated sender: colo) by truschnigg.info (Postfix) with ESMTPSA id 82F28402C0; Mon, 23 Jul 2018 19:26:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=truschnigg.info; s=mail; t=1532366814; bh=CeyYinsafc9s9gD8iPEahnmcJlNvnE/I2p1+qy/NR2E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Uu0ml+3eRbc5F17S25lGrFY5o86qDmLkq0RHcwfTnoC1W/naq15BFSAV1nT5QTjwX wW5msBkAb009Q5Ayb/ZJmqVZyliPSqB6h6VSEib4+FX0f4rD1Oe/XRLZBsOL7/tKDX f5JFa2+ZdGnE/RbsrrIKNLV69ziE09keLim3yA5I= Date: Mon, 23 Jul 2018 19:26:52 +0200 From: Johannes Truschnigg To: Evan Rempel Cc: pgsql-admin@lists.postgresql.org Subject: Re: Moving the data directory for systemd service startup Message-ID: <20180723172652.slykd5awgpx7qx6i@vault.lan> References: <56130215-3c42-69cd-2d01-6f8aea6da46a@uvic.ca> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="m3d4kdceljc4ug6d" Content-Disposition: inline In-Reply-To: <56130215-3c42-69cd-2d01-6f8aea6da46a@uvic.ca> User-Agent: NeoMutt/20170113 (1.7.2) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --m3d4kdceljc4ug6d Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Evan, On Mon, Jul 23, 2018 at 10:19:31AM -0700, Evan Rempel wrote: > [...] > Am I missing something, or is the configuration of the systemd unit file = an oversight? That's not really a question related to PostgreSQL, but to systemd, and how= to "override" (parts of) your systems' unit files. Since you appear to be on EL7, you best check out the docs your distro provides on the matter: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/ht= ml/system_administrators_guide/sect-managing_services_with_systemd-unit_fil= es#sect-Managing_Services_with_systemd-Unit_File_Modify (Spoiler alert: All systemd-using distros are pretty much the same in these regards, which is one of the benefits of converging towards this service manager in the GNU/Linux ecosystem.) Hth. --=20 with best regards: - Johannes Truschnigg ( johannes@truschnigg.info ) www: https://johannes.truschnigg.info/ phone: +43 650 2 133337 xmpp: johannes@truschnigg.info Please do not bother me with HTML-email or attachments. Thank you. --m3d4kdceljc4ug6d Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEGu9IhkI+7/aKLUWF95W3jMsYfLUFAltWD9kACgkQ95W3jMsY fLU8xQ/+PwpYXq/kTnzBMsF7KuANyALvhNF3szjAdawziQgZsqZR7Q+rtYXR2d7T X9QJqe+2ZbznM9i5Er65k6yyr2SZQ2H7rl8tivdH7+sPr09WPp81Y5yu3VHVbziG J70tRP+tHoinAJB3OmPez/Q9XAgRPhDhQUKX6z+foLF9dwVtPWhuYVbJpm8fmiz4 I/ZSTj1YOBaNRaF2K7DYouDXKEsMrXx82JALzh3txrglWtTUTVkSZwUXOVW4wc4L ZGEGktaBI/vTTP2ZBCb2WpT7xFDkggSxX9YTLv3qtMJUYr8An7tQJnZ686Hv4XBq ImcTv+AM9014d0fV2Y+UrnIzCgSsz0HdFiI9MRAxqSLpKTI1tBMwI2UXJZGklsCr q9lQYmZ+s9YdymNzdSa3z5Ihwv0jNScyZ4tGwdKJ41uCG5Vd/aS+O3RYc2K2gqc5 VlUOQEZffwD7/qDQ27jPK8VaKBc5KtPUyO9JK609gm2Nrp2Ms80Oi+KNuGuuGpIY g75DHb9bBvUjwl8AWH14oo7osv3xeYsfXQlIVCvL6r+/WNOVcucvdPhVsenQgt1X sVHzO7btHX3CsMUqKcs1nXtMm7+Ugt+gd0ABOBe6KunD7DDn9MhkUkW6bKpJsajk UKIYzzVGRgEBiW83pOSJyKinicKhDTItaFACuZWelxwtzCQZsJs= =KmQU -----END PGP SIGNATURE----- --m3d4kdceljc4ug6d--