This file contains hidden or 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
| */5 * * * * www-data /usr/local/bin/generate_index.sh |
This file contains hidden or 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
| acl | |
| at | |
| attr | |
| audit-libs | |
| authconfig | |
| basesystem | |
| bash | |
| bc | |
| bind-libs | |
| bind-utils |
This file contains hidden or 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
| acl | |
| acpid | |
| alsa-lib | |
| at | |
| attr | |
| audit | |
| audit-libs | |
| authconfig | |
| autogen-libopts | |
| aws-cfn-bootstrap |
This file contains hidden or 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/sh | |
| ### BEGIN INIT INFO | |
| # Provides: carbon-relay | |
| # Required-Start: $remote_fs $syslog $network | |
| # Required-Stop: $remote_fs $syslog $network | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: Graphite Carbon relay daemon | |
| # Description: relay pickled data to multiple backend for Graphite | |
| ### END INIT INFO |
This file contains hidden or 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 -e | |
| # mirror_test.sh | |
| # benchmarks closest ubuntu mirrors and outputs them in speed order | |
| # bash -c "$(curl -fsSL https://gist.githubusercontent.com/lox/9152137/raw/mirror_test.sh)" | |
| RELEASE=$(lsb_release -c -s 2>/dev/null || echo 14.04) | |
| MIRRORS=$(curl -s http://mirrors.ubuntu.com/mirrors.txt) | |
| TESTFILE="dists/$RELEASE/main/binary-amd64/Packages.bz2" | |
| TIMEOUT=1 |
This file contains hidden or 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 : | |
| $fixnotty = <<SCRIPT | |
| sudo sed -i '/tty/!s/mesg n/tty -s \\&\\& mesg n/' /root/.profile | |
| SCRIPT | |
| $mirrors = <<SCRIPT | |
| export DEBIAN_FRONTEND=noninteractive | |
| cat > /etc/apt/sources.list <<- EOM |
This file contains hidden or 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
| description "sshuttle daemon" | |
| author "Robin <robin@naas.io>" | |
| start on (filesystem and net-device-up IFACE=lo) | |
| stop on runlevel [!2345] | |
| env DAEMON=/usr/sbin/sshuttle | |
| env ARGS="-NH --syslog" | |
| env TARGET="user@remotehost:port" |
OlderNewer