Merge pull request #17 from jarosser06/rm_hardcoded_home

Replaced hardcoded home directory in Systemd ExecStop with HOME variable
This commit is contained in:
Bruno Sutic 2016-01-23 16:57:14 +01:00
commit 499b6a7e4e

View File

@ -21,7 +21,7 @@ template() {
Environment=DISPLAY=:0 Environment=DISPLAY=:0
ExecStart=/usr/bin/tmux ${systemd_tmux_server_start_cmd} 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 ExecStop=/usr/bin/tmux kill-server
KillMode=none KillMode=none