fix dcufm env vars
This commit is contained in:
parent
c75bde2257
commit
96afca40cb
1 changed files with 13 additions and 1 deletions
|
@ -103,13 +103,25 @@ job "dcufm" {
|
|||
<logging>
|
||||
<accesslog>access.log</accesslog>
|
||||
<errorlog>error.log</errorlog>
|
||||
<loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
|
||||
<loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
|
||||
<logsize>10000</logsize> <!-- Max size of a logfile -->
|
||||
</logging>
|
||||
</icecast>
|
||||
EOH
|
||||
|
||||
destination = "local/icecast_dcufm.xml"
|
||||
perms = "755"
|
||||
}
|
||||
|
||||
template {
|
||||
data = <<EOH
|
||||
ICECAST_SOURCE_PASSWORD="{{ key "dcufm/passwords/source" }}"
|
||||
ICECAST_ADMIN_PASSWORD="{{ key "dcufm/passwords/admin" }}"
|
||||
ICECAST_RELAY_PASSOWRD="{{ key "dcufm/passwords/relay" }}"
|
||||
ICECAST_HOSTNAME="dcufm.redbrick.dcu.ie"
|
||||
EOH
|
||||
destination = "local/file.env"
|
||||
env = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue