Removed automatic restore as screwed pane organisation.

- this caused issues with the restore missing some processes and putting
  others in the wrong place.

- I think this may need some work with the tmux-resurrect plugin to fix if auto
  restore is to be used.
This commit is contained in:
Pete Peteches McCabe 2015-11-27 18:21:47 +00:00 committed by Bruno Sutic
parent a9cbf68546
commit 65d627af30
No known key found for this signature in database
GPG Key ID: CAFA7B1B2914ED81

View File

@ -23,7 +23,6 @@ template() {
RemainAfterExit=True RemainAfterExit=True
Environment=DISPLAY=:0 Environment=DISPLAY=:0
ExecStart=/usr/bin/tmux ${systemd_tmux_server_start_cmd} ExecStart=/usr/bin/tmux ${systemd_tmux_server_start_cmd}
ExecStartPost=/usr/bin/tmux run /home/peteches/.tmux/plugins/tmux-resurrect/scripts/restore.sh
ExecStop=/home/peteches/.tmux/plugins/tmux-resurrect/scripts/save.sh ExecStop=/home/peteches/.tmux/plugins/tmux-resurrect/scripts/save.sh
ExecStop=/usr/bin/tmux kill-server ExecStop=/usr/bin/tmux kill-server