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 | |
# | |
# activemq Starts ActiveMQ. | |
# | |
# | |
# chkconfig: 345 88 12 | |
# description: ActiveMQ is a JMS Messaging Queue Server. | |
### BEGIN INIT INFO | |
# Provides: activemq | |
### 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
#!/usr/bin/env bash | |
if [ ! $2 ]; then | |
echo "Usage: $(basename $0) DEVICE MOUNT_POINT" | |
echo | |
echo " DEVICE - The device location on the EC2 instance. (E.g. /dev/sdh)" | |
echo " MOUNT_POINT - The location you would like the EBS Volume mounted to. (E.g. /data)" | |
exit | |
fi |