FS#33300 - [postgresql] service doesn't use environment file, uses $PG_ROOT inconsistently
Attached to Project:
Arch Linux
Opened by Ben Edwards (benjumanji) - Saturday, 05 January 2013, 22:21 GMT
Last edited by Dan McGee (toofishes) - Sunday, 03 February 2013, 21:28 GMT
Opened by Ben Edwards (benjumanji) - Saturday, 05 January 2013, 22:21 GMT
Last edited by Dan McGee (toofishes) - Sunday, 03 February 2013, 21:28 GMT
|
Details
To reproduce, follow install instructions in the wiki but DO
NOT use the usual /var/lib/postgres location for $PG_ROOT.
Choose anything else.
The service will fail to start because $PG_ROOT is hard coded in the service file. Even assuming that this is noticed and the service file is edited, the pid file uses a hardcoded location that doesn't respect the $PG_ROOT variable set in the service file itself. Patch attached. |
This task depends upon
Closed by Dan McGee (toofishes)
Sunday, 03 February 2013, 21:28 GMT
Reason for closing: Won't fix
Additional comments about closing: We aren't using conf.d files for systemd units. Override both values in the unit file if you want to move it.
Sunday, 03 February 2013, 21:28 GMT
Reason for closing: Won't fix
Additional comments about closing: We aren't using conf.d files for systemd units. Override both values in the unit file if you want to move it.
postgres.patch