Novak Djokovic made a winning return to action, albeit in less than convincing fashion, to beat Ivan Gakhov at the Monte-Carlo Masters.