FS#57744 - postgresql overwrites locally changed systemd unit files
Attached to Project:
Arch Linux
Opened by flu (influenza) - Wednesday, 07 March 2018, 18:36 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 07 March 2018, 19:00 GMT
Opened by flu (influenza) - Wednesday, 07 March 2018, 18:36 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 07 March 2018, 19:00 GMT
|
Details
Description:
With each update to the postgresql package, my local systemd unit file is overwritten. I used a PGROOT other than `/var/lib/postgres`, which is specified in the packaged unit file. Additional info: * Package version: 10.3-1 and many others * Relevant file is /usr/lib/systemd/system/postgresql.service Steps to reproduce: 1. Customize /usr/lib/systemd/system/postgresql.service 2. Update the postgresql package 3. Observe changes to /usr/lib/systemd/system/postgresql.service |
This task depends upon
See https://wiki.archlinux.org/index.php/Systemd#Editing_provided_units for safeways to customize a service file that will not be overwritten by updates.