Is there a way implement delays when restarting services?
I am running a software called elasticsearch. When restarting it, a new instance sometimes comes up before the old one has fully died and it causes a lot of problems. Is there a way to have restarts shut down a process, wait a few seconds, and then start the service back up again?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Vishal JadavRank #1,692 · 901 reputationPosted Dec 17, 2015, 1:48 AM EST