Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
vmdriver
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
795c0c2a
authored
May 05, 2014
by
Guba Sándor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
misc: added node.conf that handle vmdriver and netdriver instances
parent
a7de2da2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
miscellaneous/node.conf
+27
-0
No files found.
miscellaneous/node.conf
0 → 100644
View file @
795c0c2a
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment