Makes sure elasticsearch restarts when a new version is installed.