From b191bd1e83ad0ca152afc3a1c6c7823d9f4e683c Mon Sep 17 00:00:00 2001 From: Sam Pearson Date: Wed, 3 Oct 2018 08:51:49 +0100 Subject: [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] --- docs/install/database.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'docs/install/database.md') 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`: -- cgit v1.2.3