replaced hardcoded home directory in Systemd ExecStop with HOME variable

This commit is contained in:
Jim Rosser 2016-01-23 09:39:06 -06:00
parent d21e477f16
commit 438e50d54f

View File

@ -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