From b07051ac00e2d900a8894c0ae6b70c06623c0576 Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Sun, 24 Apr 2022 18:50:14 +0200 Subject: [PATCH] allow infinite number of tasks by default in tmux@.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@.service after user session by default since in a way it is a user session. --- tmux.spec | 2 +- tmux@.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@.service b/tmux@.service index 971eda4..045b8b1 100644 --- a/tmux@.service +++ b/tmux@.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 -- 2.44.0