View strace-output rear-duply-test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open("/etc/ld.so.cache", O_RDONLY) = 3 | |
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY) = 3 | |
open("/etc/ld.so.cache", O_RDONLY) = 3 | |
open("/lib/x86_64-linux-gnu/libtinfo.so.5", O_RDONLY) = 3 | |
open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY) = 3 | |
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY) = 3 | |
open("/dev/tty", O_RDWR|O_NONBLOCK) = 3 | |
open("/proc/meminfo", O_RDONLY) = 3 | |
open("/bin/duply", O_RDONLY) = 3 | |
[pid 2396] open("/etc/ld.so.cache", O_RDONLY) = 3 |
View strace-output working-rear-duply-test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RESCUE puppet-optimus:~ # sed -e 's/^.*open("\([^"]*\)".*/\1/' strace-working.out | sort -u | |
/bin/duplicity | |
/bin/duply | |
/bin/which | |
/dev/null | |
/dev/tty | |
/dev/urandom | |
/etc/duply/rear-test/. | |
/etc/duply/rear-test/conf | |
/etc/group |
View Vagrantfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
## to use this Vagrantfile you need: | |
## Virtualbox: http://www.virtualbox.org | |
## Vagrant: http://www.vagrantup.com | |
## and if you need cleanup scripts for e.g. additional external destroy | |
## functionality ( https://github.com/emyl/vagrant-triggers ) run: | |
# vagrant plugin install vagrant-triggers |
View wp-cli update script as etc-cron.daily-wordpress-update
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat /etc/cron.daily/wordpress | |
#!/bin/sh | |
set -e | |
WWW_USER="www-data" | |
WWW_PATH="/var/www" | |
WPCLI_UPDATE=`wp cli check-update --allow-root 2>/dev/null \ | |
| grep -v "Success: WP-CLI is at the latest version." | wc -l` |
View GeoIP-for-iptables-update.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
# Lite Access: | |
# AccountID 0 | |
# LicenseKey 000000000000 | |
# EditionIDs GeoLite2-Country GeoLite2-City | |
# Licensed Access: | |
# AccountID 12345 | |
# LicenseKey abcdefghijkl |