[packages/tmux] allow infinite number of tasks by default in tmux at .service; rel 2

atler atler at pld-linux.org
Sun Apr 24 19:03:13 CEST 2022


commit b07051ac00e2d900a8894c0ae6b70c06623c0576
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Apr 24 18:50:14 2022 +0200

    allow infinite number of tasks by default in tmux at .service; rel 2
    
    by default units are assigned DefaultTasksMax limit of 4915 tasks (might
    be different depending on other conditions see
    https://www.freedesktop.org/software/systemd/man/systemd-system.conf.html#DefaultTasksMax=)
    however user sessions allow infinite number of tasks. model
    tmux at .service after user session by default since in a way it is a user
    session.

 tmux.spec     | 2 +-
 tmux at .service | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/tmux.spec b/tmux.spec
index 8bcc506..da7f8b0 100644
--- a/tmux.spec
+++ b/tmux.spec
@@ -5,7 +5,7 @@ Summary(hu.UTF-8):	tmux egy terminál-sokszorozó
 Summary(pl.UTF-8):	tmux - multiplekser terminali
 Name:		tmux
 Version:	3.2a
-Release:	1
+Release:	2
 License:	ISC
 Group:		Applications/Terminal
 #Source0Download: https://github.com/tmux/tmux/releases
diff --git a/tmux at .service b/tmux at .service
index 971eda4..045b8b1 100644
--- a/tmux at .service
+++ b/tmux at .service
@@ -3,6 +3,7 @@ Description=Start tmux in detached session
 
 [Service]
 Type=forking
+TasksMax=infinity
 User=%I
 WorkingDirectory=~
 ExecStart=/usr/bin/tmux new-session -s %u -d
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tmux.git/commitdiff/b07051ac00e2d900a8894c0ae6b70c06623c0576



More information about the pld-cvs-commit mailing list