Skip to content

Commit

Permalink
socket activation: Pass -t 0 to speechd
Browse files Browse the repository at this point in the history
It is unfortunate to drop support for auto-exit, but it is unclear for now
how we are supposed to deal with the race condition between the server
timing out and a new client trying to connect.

Fixes #777
  • Loading branch information
sthibaul committed Jan 1, 2023
1 parent 20ed690 commit e7e188f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions speech-dispatcher.service.in
@@ -1,4 +1,4 @@
# Copyright (C) 2018 Samuel Thibault <samuel.thibault@ens-lyon.org>
# Copyright (C) 2018, 2022 Samuel Thibault <samuel.thibault@ens-lyon.org>
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
Expand All @@ -19,5 +19,5 @@ Requires=speech-dispatcher.socket

[Service]
Type=simple
ExecStart=@bindir@/speech-dispatcher
ExecStart=@bindir@/speech-dispatcher -t 0
ExecReload=/bin/kill -HUP $MAINPID

0 comments on commit e7e188f

Please sign in to comment.