Skip to content

Instantly share code, notes, and snippets.

@gschueler
Created June 4, 2013 16:18
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save gschueler/5707281 to your computer and use it in GitHub Desktop.
Save gschueler/5707281 to your computer and use it in GitHub Desktop.
Example rundeck-config for SMTP mail configuration
loglevel.default = "DEBUG"
rdeck.base = "/var/lib/rundeck"
rss.enabled = true
dataSource {
dbCreate = "update"
url = "jdbc:h2:file:/var/lib/rundeck/data/rundeckdb;MVCC=true"
}
grails {
mail {
host = "smtp.example.com"
username = "user"
port = 587
password = "pass"
props = ["mail.smtp.starttls.enable":"true", "mail.smtp.port":587, "mail.smtp.auth":"true"]
}
}
grails.mail.default.from = "rundeck@example.com"
@dkaplowitz
Copy link

Thanks for posting this!

@relwell
Copy link

relwell commented Sep 10, 2016

This was very helpful -- thanks!

@mrmuli
Copy link

mrmuli commented Jul 7, 2017

thanks a lot!

@mrmuli
Copy link

mrmuli commented Jul 11, 2017

I keep on hitting this exception when I update my config to .groovy

Error initializing Grails: Error creating bean with name 'pluginManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is groovy.lang.MissingPropertyException: No such property: config for class: java.lang.String

@mbuiro
Copy link

mbuiro commented Sep 14, 2018

For anyone having issues with URL not found, don't forget to add rundeck.log4j.config.file="/etc/rundeck/log4j.properties"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment