I hereby claim:
- I am jigante on github.
- I am jigante (https://keybase.io/jigante) on keybase.
- I have a public key ASCS7DZ7umW-QwxVU2GG4dOayOKVevCT1XgicHGTSaqORAo
To claim this, I am signing this object:
#!/bin/bash | |
################################################################ | |
##### script to backup lucene index from elastic search #### | |
################################################################ | |
# Shamelessly copied from https://gist.github.com/nherment/1939828 | |
NOW=`date +%Y%m%d%H%M%S` |
before "deploy:rollback:revision", "deploy:rollback_database" | |
desc "Rolls back database to migration level of the previously deployed release" | |
task :rollback_database, :roles => :db, :only => { :primary => true } do | |
if releases.length < 2 | |
abort "could not rollback the code because there is no prior release" | |
else | |
rake = fetch(:rake, "rake") | |
rails_env = fetch(:rails_env, "production") | |
migrate_env = fetch(:migrate_env, "") |
server { | |
# Listen on port 81 | |
listen 81; | |
# Server name being used (exact name, wildcards or regular expression) | |
# server_name phpmyadmin.my; | |
root /usr/share/phpmyadmin; |
--- | |
- hosts: all | |
user: root | |
sudo: true | |
tasks: | |
- name: update apt | |
command: apt-get update | |
- name: update bash |
## =================================================== | |
## Hetzner Online AG - installimage - standardconfig. | |
## =================================================== | |
## ==================== | |
## HARD DISK DRIVE(S): | |
## ==================== |
--- | |
- name: Rolling elasticsearch cluster restart | |
hosts: es | |
serial: 1 | |
sudo: yes | |
vars: | |
uribody_true: '{"transient":{"cluster.routing.allocation.enable":"none"}}' | |
uribody_false: '{"transient":{"cluster.routing.allocation.enable":"all"}}' | |
es_http_port: 9200 |
#!/bin/bash | |
## Install ISPConfig3 on Ubuntu 14.04 64Bits | |
## Author: Nilton OS blog.linuxpro.com.br | |
## http://blog.linuxpro.com.br/posts/instalando-ispconfig3-no-ubuntu-1404.html | |
## http://www.howtoforge.com/perfect-server-ubuntu-14.04-apache2-php-mysql-pureftpd-bind-dovecot-ispconfig-3-p2 | |
dpkg-reconfigure dash | |
service apparmor stop |
#!/bin/bash | |
## Install ISPConfig3 on Ubuntu 14.04 64Bits | |
## Author: Nilton OS blog.linuxpro.com.br | |
## http://blog.linuxpro.com.br/posts/instalando-ispconfig3-no-ubuntu-1404.html | |
## http://www.howtoforge.com/the-perfect-server-ubuntu-14.04-nginx-bind-mysql-php-postfix-dovecot-and-ispconfig3-p2 | |
dpkg-reconfigure dash | |
service apparmor stop |
#!/usr/bin/env perl | |
## O original esta neste Link | |
## www.arschkrebs.de/postfix/scripts/mailqfmt.pl | |
## http://www.arschkrebs.de/postfix/scripts/ | |
# Postfix mailq file reformatter, (C) 2003 by Matthias Andree | |
# This file is licensed to you under the conditions of the | |
# GNU General Public License v2. | |
## Install perl-HTTP-Date, perl-JSON |
I hereby claim:
To claim this, I am signing this object: