Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
dnsdriver
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
8fb40cc1
authored
May 02, 2014
by
Bach Dániel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update install.rst, add upstart config
parent
8c785bb9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
0 deletions
+34
-0
install.rst
+16
-0
miscellaneous/dnscelery.conf
+18
-0
No files found.
install.rst
View file @
8fb40cc1
...
...
@@ -3,6 +3,7 @@ apt-get install install djbdns daemontools-run make
initctl start svscan
adduser --system --no-create-home --disabled-login --group tinydns
adduser --system --no-create-home --disabled-login --group dnslog
mkdir -p /etc/sv
...
...
@@ -10,8 +11,23 @@ mkdir -p /etc/sv
tinydns-conf tinydns dnslog /etc/sv/tinydns <server-ip>
cd /etc/sv/tinydns/root
make
update-service --add /etc/sv/tinydns
chown -R cloud:cloud /etc/sv/tinydns/root
git clone git@git.ik.bme.hu:circle/dnsdriver.git
cd dnsdriver
mkvirtualenv dnsdriver
pip install -r requirements.txt
cp miscellaneous/dnscelery.conf /etc/init/
echo "export AMQP_URI='amqp://cloud:password@localhost:5672/circle'" >> ~/.virtualenvs/dnsdriver/bin/postactivate
start dnscelery
miscellaneous/dnscelery.conf
0 → 100644
View file @
8fb40cc1
description
"CIRCLE DNS Driver Celery Upstart"
start
on
runlevel
[
2345
]
stop
on
runlevel
[!
2345
]
respawn
respawn
limit
30
30
setgid
cloud
setuid
cloud
chdir
/
home
/
cloud
/
dnsdriver
script
. /
home
/
cloud
/.
virtualenvs
/
dnsdriver
/
bin
/
activate
. /
home
/
cloud
/.
virtualenvs
/
dnsdriver
/
bin
/
postactivate
HOSTNAME
=$(
hostname
-
s
)
exec
celery
-
A
dnscelery
worker
--
loglevel
=
info
-
n
${
HOSTNAME
}.
dns
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