How to Start, Stop or Restart your Instance? Bee Bot July 13, 2022 11:20 Updated The content of this article has moved to the new documentation site. Related articles How to Connect to Remote SSH Agents? Best Strategy for Disk Space Management: Clean Up Old Builds How to manage Credentials via the REST API Considerations for Kubernetes Clients Connections when using Kubernetes Plugin Role-Based Authorization Strategy: Limit folder access Comments 3 comments Sort by Date Votes Ericchou19831101 Ericchou19831101 October 19, 2017 06:21 I observe a strange behavior. I have jenkins running there for a couple of months, never did restart (by systemctl or from Web GUI) and I can see the process was start in May. Then I did a /restart from Web GUI, the process is still the same one. ( re-tried twice , same thing) even Web GUI showed "jenkins is restarting...." Then I did a "systemctl restart jenkins", and from Web GUI, it does the restart. and after one minute, I can access from Web GUI again, and on jenkins master, I can see the process is updated to a new one. So my question is, what exactly /restart does? Definitely it is not the same as a "systemctl restart" 0 Denys Digtiar October 20, 2017 06:55 On *nix systems, the current implementation uses the function from exec suite to restart the process. This has a side-effect of all the process attributes being preserved even though JVM is completely reloaded. You can refer to code here - jenkins/UnixLifecycle.java at 08a993d7bcd3590ccbfa9504cd45fbba540fd354 · jenkinsci/jenkins 1 Shahadat Hossain August 02, 2021 18:21 I was able to restart my Jenkins successfully with those commands. Thanks. 0 Please sign in to leave a comment.