start new:
tmux
start new with session name:
tmux new -s myname
| #!/bin/bash | |
| # Pre-upcp hook which will deny upcp in case the server already has IO, | |
| # chef-client, cdp etc. are running..! | |
| # Story: https://wwwhosting.atlassian.net/browse/SH-222 | |
| # Set limit load avg. for VPS/hardware | |
| # Defaults to 6 for VPS and 10 for hardware ones | |
| if [[ $(/sbin/lspci | wc -l) -eq 0 ]]; then | |
| limit_load=6 |
| # These rules are designed to be effective versus /distributed/ brute force | |
| # attacks. While they will function just as well against attacks which are | |
| # /not distributed/ they will deny access to all XML-RPC method calls | |
| # namespaced with the prefix "wp." | |
| # | |
| # An IP-based version of these rules may be more appropriate for sites which | |
| # attacked from just a few distinct IP addresses. | |
| # | |
| # See http://alzabo.io/modsecurity/2014/09/15/wordpress-xml-rpc-brute-force.html | |
| # for additional information |