Changed the script to spit out a full akka.conf file with the secure cookie
This commit is contained in:
parent
68ad59338a
commit
73902d87b7
1 changed files with 16 additions and 2 deletions
|
|
@ -23,5 +23,19 @@ bytes.foreach { b =>
|
|||
sb.append(hex.charAt((n & 0xF) >> 4)).append(hex.charAt(n & 0xF))
|
||||
}
|
||||
|
||||
println("Cryptographically secure cookie:")
|
||||
println(sb.toString)
|
||||
print("""
|
||||
# This config imports the Akka reference configuration.
|
||||
include "akka-reference.conf"
|
||||
|
||||
# In this file you can override any option defined in the 'akka-reference.conf' file.
|
||||
# Copy in all or parts of the 'akka-reference.conf' file and modify as you please.
|
||||
|
||||
akka {
|
||||
remote {
|
||||
secure-cookie = """")
|
||||
print(sb.toString)
|
||||
print(""""
|
||||
}
|
||||
}
|
||||
""")
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue