title: Unable to start postgresql.service?
body: <p>I'm using arch linux (4.8.13-1-ARCH). I'm trying to set up PostgreSQL as instructed <a href="https://wiki.archlinux.org/index.php/PostgreSQL" rel="noreferrer">here</a>.</p>
  
  <p>After performing</p>
  
  <pre><code>[postgres@BitBox ~]$ initdb --locale $LANG -E UTF8 -D '/var/lib/postgres/data'
  The files belonging to this database system will be owned by user "postgres".
  This user must also own the server process.
  
  The database cluster will be initialized with locale "en_US.UTF-8".
  The default text search configuration will be set to "english".
  
  Data page checksums are disabled.
  
  fixing permissions on existing directory /var/lib/postgres/data ... ok
  creating subdirectories ... ok
  selecting default max_connections ... 100
  selecting default shared_buffers ... 128MB
  selecting dynamic shared memory implementation ... posix
  creating configuration files ... ok
  running bootstrap script ... ok
  performing post-bootstrap initialization ... ok
  syncing data to disk ... ok
  
  WARNING: enabling "trust" authentication for local connections
  You can change this by editing pg_hba.conf or using the option -A, or
  --auth-local and --auth-host, the next time you run initdb.
  
  Success. You can now start the database server using:
  
  pg_ctl -D /var/lib/postgres/data -l logfile start
  </code></pre>
  
  <p>successfully, I returned to the my regular user using exit command.</p>
  
  <pre><code>[postgres@BitBox ~]$ exit
  logout
  </code></pre>
  
  <p>Then, while trying to start postgresql.service, I got the following error:</p>
  
  <pre><code>[code_master5@BitBox ~]$ sudo systemctl start postgresql.service
  Failed to start postgresql.service: Unit postgresql.service not found.
  </code></pre>
  
  <p>I'm not even getting the status of the service:</p>
  
  <pre><code>[code_master5@BitBox ~]$ sudo systemctl status postgresql.service
  Unit postgresql.service could not be found.
  </code></pre>
  
  <p>I'm stuck!</p>