vps.yml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # ~/.tmuxinator/vps.yml
  2. name: vps
  3. root: ~/
  4. # Optional tmux socket
  5. # socket_name: foo
  6. # Runs before everything. Use it to start daemons etc.
  7. # pre: sudo /etc/rc.d/mysqld start
  8. # Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
  9. # pre_window: rbenv shell 2.0.0-p247
  10. # Pass command line options to tmux. Useful for specifying a different tmux.conf.
  11. # tmux_options: -f ~/.tmux.mac.conf
  12. # Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
  13. # tmux_command: byobu
  14. windows:
  15. - apt: sudo aptitude
  16. - weechat: weechat
  17. - urls: tail -F ~/.weechat/urls.log
  18. - mutt: neomutt
  19. #- log: lnav -r /var/log/nginx/access.log /var/log/nginx/error.log /var/log/fail2ban.log
  20. ## Uses less ram, and does the needed job
  21. - log: lnav /var/log/nginx/access.log /var/log/nginx/access.log.1 /var/log/nginx/access.log.2.gz /var/log/nginx/error.log /var/log/nginx/error.log.1 /var/log/nginx/error.log.2.gz /var/log/fail2ban.log /var/log/fail2ban.log.1 /var/log/fail2ban.log.2.gz
  22. #- editor:
  23. #layout: main-vertical
  24. #panes:
  25. #- vim
  26. #- guard
  27. #- server: bundle exec rails s
  28. #- logs: tail -f log/development.log