Commit 650831e94b3c8309c1ba77ea542afc16fcc4a4fe
Committed by
Athos
1 parent
2a4e2f5d
Exists in
backup
fastcgi running with mailman:apache
nginx user was also added to group apache
Showing
2 changed files
with
8 additions
and
1 deletions
Show diff stats
cookbooks/mailman/files/centos/spawn-fcgi
cookbooks/mailman/recipes/webui.rb
@@ -36,6 +36,13 @@ cookbook_file '/etc/sysconfig/spawn-fcgi' do | @@ -36,6 +36,13 @@ cookbook_file '/etc/sysconfig/spawn-fcgi' do | ||
36 | notifies :restart, 'service[spawn-fcgi]' | 36 | notifies :restart, 'service[spawn-fcgi]' |
37 | end | 37 | end |
38 | 38 | ||
39 | +group 'apache' do | ||
40 | + action 'manage' | ||
41 | + append true | ||
42 | + members ['nginx'] | ||
43 | + notifies :restart, 'service[nginx]' | ||
44 | +end | ||
45 | + | ||
39 | service 'spawn-fcgi' do | 46 | service 'spawn-fcgi' do |
40 | action [:enable, :start] | 47 | action [:enable, :start] |
41 | supports :restart => true | 48 | supports :restart => true |