Re: [bugs] calcurse allows multiple daemon copies to run

On Tue, 18 Oct 2016 at 17:14:49, Vlad Glagolev wrote:
> I'm not sure if it's a bug or a feature, but currently it allows to run
> many calcurse daemon instances at once:
> 
> $ calcurse --daemon
> $ calcurse --daemon
> $ calcurse --daemon
> $ calcurse --daemon
> $ pgrep calcurse | wc -l
> 4

Not really a bug but it sounds like a good idea to avoid starting the
daemon more than once. I just pushed a patch that makes --daemon restart
the daemon if there already is a running instance.

Thanks for the suggestion!

Links