]> git.pld-linux.org Git - packages/tmux.git/commitdiff
allow infinite number of tasks by default in tmux@.service; rel 2 auto/th/tmux-3.2a-2
authorJan Palus <atler@pld-linux.org>
Sun, 24 Apr 2022 16:50:14 +0000 (18:50 +0200)
committerJan Palus <atler@pld-linux.org>
Sun, 24 Apr 2022 16:59:52 +0000 (18:59 +0200)
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@.service after user session by default since in a way it is a user
session.

tmux.spec
tmux@.service

index 8bcc506cdd34ecd9379c3145ae906369a275d73a..da7f8b006e45cfe31756283967b0c0ee71078632 100644 (file)
--- 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
index 971eda42be546c110c02fb3f9005a56ecff952b8..045b8b1732b50e35391a3724ee6a20fd6f8324e6 100644 (file)
@@ -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
This page took 0.162405 seconds and 4 git commands to generate.