Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Canbing007 committed Jul 21, 2017
1 parent 5dea43a commit 44daf32
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
supervisord -c '/tmp/supervisord_server.conf'

24 changes: 24 additions & 0 deletions supervisord_server.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[supervisord]
nodaemon=true

[inet_http_server]
port=0.0.0.0:9001
username=xx
password=xx

[program:sshd]
command=/usr/sbin/sshd -D


[program:redis]
command=/usr/bin/redis-server


[program:celery]
command=celery -A tasks worker --loglevel=info --workdir=/root/wukong_agent_v1 --concurrency=10 --hostname=%(program_name)s%(process_num)02d
directory=/root/wukong_agent_v1


[program:flower]
command=celery flower --port=8080 --broker=redis://127.0.0.1:6379/0
directory=/root/wukong_agent_v1

0 comments on commit 44daf32

Please sign in to comment.