diff options
author | Sam Pearson <sam@sgp.me.uk> | 2018-10-03 08:51:49 +0100 |
---|---|---|
committer | Sam Pearson <sam@sgp.me.uk> | 2018-10-04 08:31:48 +0100 |
commit | b191bd1e83ad0ca152afc3a1c6c7823d9f4e683c (patch) | |
tree | 5bd4757687b92d8f23479b0698ec44bc69688c46 /docs/install/database.md | |
parent | e2cdb265f48a8f39429965132eaaac649bb215a5 (diff) |
[Docs] Use service command in examples
This changes a handful of example commands that restart the fixmystreet
application server to use the `service` command rather than the script
in `/etc/init.d`. This should be compatible with systems using either of
`systemd` or `sysvinit`.
[skip ci]
Diffstat (limited to 'docs/install/database.md')
-rw-r--r-- | docs/install/database.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/install/database.md b/docs/install/database.md index f282c8985..5b5ffa19f 100644 --- a/docs/install/database.md +++ b/docs/install/database.md @@ -12,14 +12,15 @@ title: Database troubleshooting At this point you might need to configure PostgreSQL to allow password-based access to the `fms` database as the user `fms` from using Unix-domain sockets. -Edit the file `/etc/postgresql/8.4/main/pg_hba.conf` and add as the -first line: +Edit the file `/etc/postgresql/9.6/main/pg_hba.conf` (note that the version +number in this path will vary depending on the version of Debian you are +using) and add as the first line: local fms fms md5 You will then need to restart PostgreSQL with: - $ sudo /etc/init.d/postgresql restart + $ sudo service postgresql restart If you want to access the database from the command line, you can add the following line to `~/.pgpass`: |