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 | |
set -eux | |
[email protected] | |
MAXSIZE=45000000000 | |
# Wait for the net to come up | |
while [ ! $(ifconfig | grep 'status: active') ]; do |
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 | |
# DreamHost Web Log Archiver | |
# | |
# DreamHost only stores web logs for a few days (configurable 3-30 days), | |
# so to maintain long term logs, an archive copy must be maintained. | |
# | |
# This script copies new gzipped http/https log files from logs/ to | |
# logs_archive/ | |
# |
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 | |
# Examples: | |
# | |
# mailpage.sh http://example.com [email protected] 'An Example Page' | |
# mailpage.sh http://example.com [email protected] 'Passworded Page' --user=john --password=xxxxx | |
set -eu | |
USAGE=$'\n'"Usage: $(basename $0) URL address subject [ wget options ]" |