title: I can't stop postgresql server on ssh with Jenkins
body: <p>I try to do some actions on my Postgresql sever and I restart it...</p>
  
  <p>I'm doing that with a Jenkins job, so I use script from my Jenkins machine who connect on ssh to the postgresql server. But problem, it display me this since 2hours </p>
  
  <p><a href="https://i.stack.imgur.com/sLyZ9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sLyZ9.png" alt="restart postgresql waiting"></a></p>
  
  <p>and when I try to restart it directly in the commandline in the postgresql machine it works</p>
  
  <p>I dot that like this in the Build step of the jenkins job
  <a href="https://i.stack.imgur.com/B7ey9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/B7ey9.png" alt="ssh command from jenkins"></a></p>
  
  <p>How can resolve it please ?</p>