Re: [CentOS] Update to 1503 release problem

2015-04-16 Thread Dennis Jacobfeuerborn
On 16.04.2015 12:51, Alessandro Baggi wrote: > From freedesktop.org: > > > Q: I want to change a service file, but rpm keeps overwriting it in > /usr/lib/systemd/system all the time, how should I handle this? > > A: The recommended way is to copy the service file from > /usr/lib/systemd/system t

Re: [CentOS] Update to 1503 release problem

2015-04-16 Thread Alessandro Baggi
From freedesktop.org: Q: I want to change a service file, but rpm keeps overwriting it in /usr/lib/systemd/system all the time, how should I handle this? A: The recommended way is to copy the service file from /usr/lib/systemd/system to /etc/systemd/system and edit it there. The latter dire

Re: [CentOS] Update to 1503 release problem

2015-04-16 Thread Alessandro Baggi
Hi list, the update has modified /etc/systemd/system/multi-user.target.wants/postgresql.service pointing to /usr/lib/systemd/system/postgresql.service. I have edited postgres file to change PGDATA. How James says, I have edited postgresql.service manually. What is the correct way? Thanks in a

Re: [CentOS] Update to 1503 release problem

2015-04-15 Thread James Hogarth
On 15 Apr 2015 13:22, "Dennis Jacobfeuerborn" wrote: > > On 15.04.2015 12:41, Alessandro Baggi wrote: > > Hi there, > > Yesterday I've updated from 7 to 7.1 and today I've noticed on 2 server > > that postgresql systemd file was replaced with default values. This make > > postgres to no start and

Re: [CentOS] Update to 1503 release problem

2015-04-15 Thread Dennis Jacobfeuerborn
On 15.04.2015 12:41, Alessandro Baggi wrote: > Hi there, > Yesterday I've updated from 7 to 7.1 and today I've noticed on 2 server > that postgresql systemd file was replaced with default values. This make > postgres to no start and webserver give me problem. This problem was > fixed and now all wo

[CentOS] Update to 1503 release problem

2015-04-15 Thread Alessandro Baggi
Hi there, Yesterday I've updated from 7 to 7.1 and today I've noticed on 2 server that postgresql systemd file was replaced with default values. This make postgres to no start and webserver give me problem. This problem was fixed and now all works good. It's normal that on major update I can ge