Used rm -rf in var dir on ec2 instance, now it goes in loop to restart jenkins

Job for jenkins.service failed because the control process exited with error code.
See “systemctl status jenkins.service” and “journalctl -xeu jenkins.service” for details.

Hello @ShaileshDhoot and welcome to this community :wave:,

“it doesn’t work” is always hard to remote debug. Try to always include these 3 things.

  1. what did you try? (Code samples, command lines, screenshots, videos, etc)
  2. what did happen? (Error messages, description, outputs, stuff)
  3. what did you expect to happen?

Otherwise, it’s hard for us to get into your context and you’ll have to have someone who is exactly knowledgeable come along.