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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -