Re: espeakup release coming soon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Samuel Thibault <samuel.thibault@xxxxxxxxxxxx> writes:

> currently espeakup uses daemon() to do the daemonizing stuff.
> Unfortunately, daemon() does things not very appropriately, and there
> is notably a delay between the parent exit()ing and the child writing
> the pid file.

Why not just use the -d option when starting espeakup?
This causes it to stay in the foreground.  No pid file is written, etc.
The long option name is --debug.  I'd argue that that is a bit of a
misnomer, since all it really does is cause espeakup to stay in the
foreground.  Maybe it should have been called --dontfork instead.
I thought systemd preferred non-forking daemons?
Anyway, -d is what I use to run espeakup under runit, and it has worked
well in practice for over a year.

-- Chris
_______________________________________________
Speakup mailing list
Speakup@xxxxxxxxxxxxxxxxx
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux