How i Autorestart Jenkins Service if my jenkins service fail?

How i Autorestart Jenkins Service if my jenkins service fail ??

google “how to autorestart systemd”

I got