Commit 795c0c2a by Guba Sándor

misc: added node.conf that handle vmdriver and netdriver instances

parent a7de2da2
description "IK Cloud Django Development Server"
start on runlevel [2345]
stop on runlevel [!2345]
pre-start script
hostname=$(hostname -s)
for inst in vm.fast vm.slow
do
start vmcelery NAME=$hostname.$inst || :
done
for inst in net.fast net.slow
do
start netcelery NAME=$hostname.$inst || :
done
end script
post-stop script
for inst in `initctl list|grep "^vmcelery "|awk '{print $2}'|tr -d ')'|tr -d '('`
do
stop vmcelery NAME=$inst || :
done
for inst in `initctl list|grep "^netcelery "|awk '{print $2}'|tr -d ')'|tr -d '('`
do
stop netcelery NAME=$inst || :
done
end script
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment