A simple service definition for Consul agents; meant to simplify the installation process of Consul.
This is based on the information provided by Hashicorp in the Consul Docs.
- Download the XML file:
- Either
wget {raw_url} consul.xml
# the following two lines give a two-line status, with the current window highlighted | |
hardstatus alwayslastline | |
hardstatus string '%{= kG}[%{G}%H%? %1`%?%{g}][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%m/%d %{W}%C%A%{g}]' | |
# huge scrollback buffer | |
defscrollback 5000 | |
# no welcome message | |
startup_message off |
----- Esc ----- | |
Quick change directory: Esc + c | |
Quick change directory history: Esc + c and then Esc + h | |
Quick change directory previous entry: Esc + c and then Esc + p | |
Command line history: Esc + h | |
Command line previous command: Esc + p | |
View change: Esc + t (each time you do this shortcut a new directory view will appear) | |
Print current working directory in command line: Esc + a | |
Switch between background command line and MC: Ctrl + o | |
Search/Go to directory in active panel: Esc + s / Ctrl + s then start typing directory name |
//from pure package | |
export http_proxy="proxy.host:3128" | |
export https_proxy=$http_proxy | |
export JRUBY_OPTS="-J-Dhttp.proxyHost=proxy.host -J-Dhttp.proxyPort=3128" | |
DEBUG=1 JARS_SKIP='true' bin/logstash-plugin install logstash-filter-json_encode |
A simple service definition for Consul agents; meant to simplify the installation process of Consul.
This is based on the information provided by Hashicorp in the Consul Docs.
wget {raw_url} consul.xml