# Author: Martti Vasar
# Date: 08/03/2012
#
# These commands are triggered, when configuring MEMCACHED servers. If you want to add commands,
# just write them here, if you want to remove, you can delete the line or use # comment mark,
# the program will ignore comment lines
#
# There are two command types, one is running the command in the instance (R), the other is 
# copying files from local (from this) machine to remote machine (C). For running commands, use
# R as an indicator and for copying, use C as an indicatior. If using C, make sure you do 
# not use spaces in file names, first is where the file is located in the local file system
# and the second is where to copy the file in the remote system.
#
# It uses Secure Shell tools (scp and ssh)
# The PWD (current directory) is the directory, where the CloudController is started.
# Configuration files are located in configuration/.
#
# Description:
# This will only start memcached, nothing more is needed. 

# start memcached, because we use sudo (super user), we have to define nobody as a user of this process (otherwise we are not able to connect with it), set listening port to 11211, use 1280 mb memory (use run command)
R sudo memcached -u nobody -d -p 11211 -m 1280 -c 4096 -R 40

