You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Yes, you do that at the operating system level though - you need to set up something that can monitor it and issue a restart command.
However, this would be "plastering over the cracks". It's the wrong thing to do.
If your service is stopping without you telling it to, then you should be investigating that, with a view to fixing the thing that is breaking it. As a service, Confluence is built to be run constantly, only having being stopped for upgrades and maintenance. It should not be stopping without a human telling it to.
You will need to look to how your operating system starts or restarts services.
But you should not be doing that, you need to look at why Confluence is stopping.