projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eab36a9
)
Make sure cgimap uses the writable database for updates
author
Tom Hughes
<tom@compton.nu>
Sat, 25 May 2019 10:48:51 +0000
(11:48 +0100)
committer
Tom Hughes
<tom@compton.nu>
Sat, 25 May 2019 10:48:51 +0000
(11:48 +0100)
cookbooks/web/recipes/cgimap.rb
patch
|
blob
|
history
diff --git
a/cookbooks/web/recipes/cgimap.rb
b/cookbooks/web/recipes/cgimap.rb
index 61d1162b1cab711bade231cd874a0b0198eb2bd1..d2dbb7a3b639e06876039d4b5d2d2814774aa5cc 100644
(file)
--- a/
cookbooks/web/recipes/cgimap.rb
+++ b/
cookbooks/web/recipes/cgimap.rb
@@
-46,6
+46,7
@@
systemd_service "cgimap" do
"CGIMAP_USERNAME" => "cgimap",
"CGIMAP_PASSWORD" => db_passwords["cgimap"],
"CGIMAP_OAUTH_HOST" => node[:web][:database_host],
+ "CGIMAP_UPDATE_HOST" => node[:web][:database_host],
"CGIMAP_PIDFILE" => "#{node[:web][:pid_directory]}/cgimap.pid",
"CGIMAP_LOGFILE" => "#{node[:web][:log_directory]}/cgimap.log",
"CGIMAP_MEMCACHE" => memcached_servers.join(","),