Skip to content

Commit a5a721a

Browse files
author
dj
committed
supervisor configuration
1 parent 494f086 commit a5a721a

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

ansible/ansible.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
apt-get install -y maven
1313
apt-get install -y software-properties-common
1414
apt-get install -y curl
15+
apt-get install -y supervisor
1516
1617
- name: install Oracle Java
1718
become: true

ansible/crawler-management-ui.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[program:crawler-management-ui]
2+
directory=/home/cf/crawling-framework-example-master/crawler-management-ui
3+
command=java -Dconfig=conf/development.properties -jar target/crawler-management-ui-0.1.0-standalone.jar

ansible/crawler.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[program:crawler]
2+
directory=/home/cf/crawling-framework-example-master/crawler
3+
command=java -cp target/crawler-standalone.jar lt.tokenmill.crawlingframeworkdemo.crawler.DemoCrawlerTopology -local -conf conf/crawler-local.yaml

0 commit comments

Comments
 (0)