title: Change PostgreSQL service Name - Linux
body: <p>I have two different PostgreSQL 10 servers running on the same system (using different ports) on a CentOS 6/7 system. Can someone tell me how to name these PostgreSQL services differently? Like when I run a <code>ps</code> on the system, it should show both the services running with different names. Right now it shows both the service names as <code>postgres</code>. Can someone tell me how to rename the postgres service on Linux?</p>
  
  <p>I know how to do that on Windows <code>pg_ctl.exe register -N Postgres_1</code>  (The -N argument lets us choose the name of the Postgres service) So basically when we register the service, we can give it a custom name on Windows... but can someone tell me how to do the same on Linux?</p>
  
  <p>Thanks in advance.</p>