mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
set exit_idle_time to 0 when we detect a session
As the comments explain, this fixes relogin problems on some systems that remove our sockets on logout without terminating the daemon.
This commit is contained in:
parent
83675b3745
commit
de705a0eea
7 changed files with 79 additions and 5 deletions
|
|
@ -292,9 +292,18 @@ License along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
|
|||
<option>
|
||||
<p><opt>exit-idle-time=</opt> Terminate the daemon after the
|
||||
last client quit and this time in seconds passed. Use a negative value to
|
||||
disable this feature. Defaults to 20. The
|
||||
<opt>--exit-idle-time</opt> command line option takes
|
||||
precedence.</p>
|
||||
disable this feature. Defaults to 20. The <opt>--exit-idle-time</opt>
|
||||
command line option takes precedence.</p>
|
||||
|
||||
<p>When PulseAudio runs in the per-user mode and detects a login
|
||||
session, then any positive value will be reset to 0 so that PulseAudio
|
||||
will terminate immediately on logout. A positive value therefore has
|
||||
effect only in environments where there's no support for login session
|
||||
tracking. A negative value can still be used to disable any automatic
|
||||
exit.</p>
|
||||
|
||||
<p>When PulseAudio runs in the system mode, automatic exit is always
|
||||
disabled, so this option does nothing.</p>
|
||||
</option>
|
||||
|
||||
<option>
|
||||
|
|
|
|||
|
|
@ -189,8 +189,21 @@ License along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
|
|||
<option>
|
||||
<p><opt>--exit-idle-time</opt><arg>=SECS</arg></p>
|
||||
|
||||
<optdesc><p>Terminate the daemon when idle and the specified
|
||||
number of seconds passed.</p></optdesc>
|
||||
<optdesc>
|
||||
<p>Terminate the daemon after the last client quit and this time in
|
||||
seconds passed. Use a negative value to disable this feature. Defaults
|
||||
to 20.</p>
|
||||
|
||||
<p>When PulseAudio runs in the per-user mode and detects a login
|
||||
session, then any positive value will be reset to 0 so that PulseAudio
|
||||
will terminate immediately on logout. A positive value therefore has
|
||||
effect only in environments where there's no support for login session
|
||||
tracking. A negative value can still be used to disable any automatic
|
||||
exit.</p>
|
||||
|
||||
<p>When PulseAudio runs in the system mode, automatic exit is always
|
||||
disabled, so this option does nothing.</p>
|
||||
</optdesc>
|
||||
</option>
|
||||
|
||||
<option>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue