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
description "supervisor" | |
start on runlevel [2345] | |
stop on runlevel [!2345] | |
respawn | |
respawn limit 5 2 | |
expect fork |
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 -ex | |
set -e -x | |
# Log output | |
exec > >(tee /var/log/user-data.log|logger -t user-data -s 2>/dev/console) 2>&1 | |
# Update yum first | |
yum groupinstall "Development Tools" -y | |
yum update -y |
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
# Set some constants to be used to construct BEANSTALKD_OPTIONS | |
BEANSTALKD_ADDR=0.0.0.0 | |
BEANSTALKD_PORT=11300 | |
BEANSTALKD_USER=beanstalkd | |
BEANSTALKD_BINLOG_DIR=/var/lib/beanstalkd | |
BEANSTALKD_BINLOG_FSYNC_PERIOD=0 | |
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
description "simple, fast work queue" | |
start on runlevel [2345] | |
stop on runlevel [!2345] | |
respawn | |
respawn limit 5 2 | |
expect fork |