From c82f183021b923267d8f2369813c51aecb72cc5e Mon Sep 17 00:00:00 2001 From: "Alexandre Cavalheiro S. Tiago da Silva" Date: Sun, 8 Dec 2024 19:54:27 -0300 Subject: [PATCH] fix(services/terraria): create a named socket for tmux --- specific/desktop/services/terraria.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specific/desktop/services/terraria.nix b/specific/desktop/services/terraria.nix index 883f715..9c134d1 100644 --- a/specific/desktop/services/terraria.nix +++ b/specific/desktop/services/terraria.nix @@ -7,7 +7,7 @@ Unit.Description = "Terraria TMUX Server"; Service = { - ExecStart = "${pkgs.tmux}/bin/tmux -S /run/user/1000/tmux-1000/terraria new -s Terraria -d /etc/profiles/per-user/wizardlink/bin/fhs -c 'dotnet ./tModLoader.dll -server -config serverconfig.txt'"; + ExecStart = "${pkgs.tmux}/bin/tmux -L terraria new -s Terraria -d /etc/profiles/per-user/wizardlink/bin/fhs -c 'dotnet ./tModLoader.dll -server -config serverconfig.txt'"; ExecStop = "${pkgs.tmux}/bin/tmux kill-session -t Terraria"; Restart = "on-failure"; Type = "forking";