From 438e50d54f425e0d164dee3b21774d17782d5715 Mon Sep 17 00:00:00 2001 From: Jim Rosser Date: Sat, 23 Jan 2016 09:39:06 -0600 Subject: [PATCH] replaced hardcoded home directory in Systemd ExecStop with HOME variable --- scripts/handle_tmux_automatic_start/systemd_enable.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/handle_tmux_automatic_start/systemd_enable.sh b/scripts/handle_tmux_automatic_start/systemd_enable.sh index 943460d..b68442b 100755 --- a/scripts/handle_tmux_automatic_start/systemd_enable.sh +++ b/scripts/handle_tmux_automatic_start/systemd_enable.sh @@ -21,7 +21,7 @@ template() { Environment=DISPLAY=:0 ExecStart=/usr/bin/tmux ${systemd_tmux_server_start_cmd} - ExecStop=/home/peteches/.tmux/plugins/tmux-resurrect/scripts/save.sh + ExecStop=${HOME}/.tmux/plugins/tmux-resurrect/scripts/save.sh ExecStop=/usr/bin/tmux kill-server KillMode=none