Skip to content

Commit 39e2697

Browse files
committed
fix scabot production.conf file name,
record debugging options currently in use
1 parent fb56c5a commit 39e2697

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

roles/scabot/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
template: src=scabot.conf dest="{{scabot_home}}" owner="{{scabot_user}}"
2828

2929
- name: Configure scabot (prod)
30-
template: src=scabot-production.conf dest="{{scabot_home}}" owner="{{scabot_user}}"
30+
template: src=production.conf dest="{{scabot_home}}" owner="{{scabot_user}}"
3131

3232
- name: Create scabot runner
3333
template: src=run dest="{{scabot_home}}" owner="{{scabot_user}}" owner="{{scabot_user}}" mode="0755"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
play.crypto.secret="{{play_crypto_secret}}"
2+
3+
play.http.parser.maxMemoryBuffer = 512k
4+
5+
#pidfile.path="/home/scabot/scabot.pid"
6+
#akka.loglevel="DEBUG"

roles/scabot/templates/run

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
#!/bin/sh
22

33
java -Dhttp.port={{scabot_port}} -Dlogger.resource=prod-logger.xml -Dconfig.file=/home/scabot/production.conf -Dscabot.config.file=/home/scabot/scabot.conf -Dpidfile.path=/dev/null -jar /home/scabot/scabot/gui/target/scala-2.11/scabot.jar
4+
5+
# -Dplay.http.parser.maxMemoryBuffer=655360
6+
# -Dlogback.debug=true
7+
# -Dlogger.file=/home/scabot/scabot-debug-logger.xml

roles/scabot/templates/scabot-production.conf

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)