From 21a301594801ecef267c01f2616690c9a6c42e65 Mon Sep 17 00:00:00 2001 From: thek4n Date: Fri, 5 Apr 2024 10:40:30 +0300 Subject: [PATCH] ref(tmux-systemd-service) --- home/user/.config/systemd/user/tmux.service | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/home/user/.config/systemd/user/tmux.service b/home/user/.config/systemd/user/tmux.service index 9a0d101..5d1516e 100644 --- a/home/user/.config/systemd/user/tmux.service +++ b/home/user/.config/systemd/user/tmux.service @@ -6,8 +6,9 @@ After=default.target [Service] Type=simple ExecStart=/usr/bin/tmux -D -L %u -ExecStop=/usr/bin/tmux kill-server -Restart=on-failure +ExecStop=/usr/bin/tmux -L %u kill-server +ExecReload=/usr/bin/tmux -L %u source-file /home/%u/.config/tmux/tmux.conf +Restart=always [Install] WantedBy=default.target \ No newline at end of file