<div dir="ltr"><div>Hello</div><div>I have a Pgpool 3.4.6 installation using yum repository on Centos 6. I have installed Postgresql in this server. Pgpool processes run using postgres account by default, because init.d scripts of yum/rpm use postgres account.</div><div>I am installing new servers with Pgpool 3.4.13 on Centos 7, also using yum repository. I have installed Postgresql in this server. I notice pgpool processes run using root account. Centos 7 uses systemd, no classic init.d script.</div><div>I would like change account for pgpool processes. I have edited /lib/systemd/system/pgpool.service, in section [Service] I have included these lines:</div><div><br></div><div>User=postgres</div><div>Group=postgres</div><div>ExecStartPre=/usr/bin/chown -R postgres:postgres /var/run/pgpool</div><div><br></div><div>Why does Pgpool run by default with root account on Centos 7?</div><div>Should I modify more lines in /lib/systemd/system/pgpool.service or another files for running pgpool processes with postgres account.</div><div><br></div><div>Kind regards.</div><div><br></div></div>