linuxmint - How to restart Postgresql -


i have postgresql 9.3 , 9.4 installed on linux mint machine. how can restart postgresql 9.4? method restart both versions fine.

try root (maybe can use sudo or su):

/etc/init.d/postgresql restart 

without argument script gives hint on how restart specific version

[uqbar@feynman ~] /etc/init.d/postgresql usage: /etc/init.d/postgresql {start|stop|restart|reload|force-reload|status} [version ..] 

similarly, in case using systemd can use service tool:

[uqbar@feynman ~] service postgresql usage: /etc/init.d/postgresql {start|stop|restart|reload|force reload|status} [version ..] 

Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -