postgresql service is working but showing status failed

Поиск
Список
Период
Сортировка
От devangn
Тема postgresql service is working but showing status failed
Дата
Msg-id 1475562783522-5924295.post@n3.nabble.com
обсуждение исходный текст
Список pgsql-general
Everything looks and works as it should, just i am not getting the status
opensips service as active (running) instead i am getting active (exited),
what am i missing here?
# netstat  -pan|grep 5432
tcp        0      0 0.0.0.0:5432            0.0.0.0:*               LISTEN
589/postgres

# /etc/init.d/postgresql status
● postgresql.service - PostgreSQL RDBMS
   Loaded: loaded (/lib/systemd/system/postgresql.service; enabled)
   Active: active (exited) since Thu 2013-11-14 22:14:42 WAST; 2 years 10
months ago
 Main PID: 606 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/postgresql.service

Nov 14 22:14:42 db01 systemd[1]: Started PostgreSQL RDBMS.

--> below is the content of file /lib/systemd/system/postgresql.service
# systemd service for managing all PostgreSQL clusters on the system. This
# service is actually a systemd target, but we are using a service since
# targets cannot be reloaded.

[Unit]
Description=PostgreSQL RDBMS

[Service]
Type=oneshot
#ExecStartPre=/usr/bin
ExecStart= /bin/true
ExecReload=/bin/true
ExecStop=  /bin/true
RemainAfterExit=on

[Install]
WantedBy=multi-user.target




--
View this message in context:
http://postgresql.nabble.com/postgresql-service-is-working-but-showing-status-failed-tp5924295.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


В списке pgsql-general по дате отправления:

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Make psql print number values right-aligned with locale group separator?
Следующее
От: Benedikt Grundmann
Дата:
Сообщение: Re: Problems with pg_upgrade after change of unix user running db.