View raid_ephemeral.sh
#!/bin/bash | |
# | |
# this script will attempt to detect any ephemeral drives on an EC2 node and create a RAID-0 stripe | |
# mounted at /mnt. It should be run early on the first boot of the system. | |
# | |
# Beware, This script is NOT fully idempotent. | |
# | |
METADATA_URL_BASE="http://169.254.169.254/2012-01-12" |
View ConduitQuartzFacility.cs
using System; | |
using System.Linq; | |
using Castle.Core.Configuration; | |
using Castle.Facilities.QuartzIntegration; | |
using Castle.MicroKernel.Facilities; | |
using Castle.MicroKernel.Registration; | |
using Quartz; | |
using Quartz.Job; | |
using Quartz.Spi; |