Обсуждение: BUG #12895: Error: systemctl command not found

Поиск
Список
Период
Сортировка

BUG #12895: Error: systemctl command not found

От
kimthangatm@gmail.com
Дата:
The following bug has been logged on the website:

Bug reference:      12895
Logged by:          Kim Thang
Email address:      kimthangatm@gmail.com
PostgreSQL version: 9.4.1
Operating system:   CentOS Linux release 7.0.1406 with Dockerfile
Description:

On latest CentOS 7, Command "systemctl' change to 'sysctl'. So if use:
/usr/pgsql-9.4/bin/postgresql94-setup initdb then error:

/usr/pgsql-9.4/bin/postgresql94-setup: line 80: systemctl: command not
found
failed to find PGDATA setting in postgresql-9.4.service