Index: modules/nginx/manifests/init.pp |
=================================================================== |
--- a/modules/nginx/manifests/init.pp |
+++ b/modules/nginx/manifests/init.pp |
@@ -48,13 +48,13 @@ class nginx ( |
# file {'/etc/logrotate.d/nginx': |
# source => 'nginx/logrotate', |
# require => File['/etc/nginx/nginx.conf'] |
# } |
service {'nginx': |
ensure => running, |
enable => true, |
- hasrestart => true, |
+ restart => '/etc/init.d/nginx reload', |
hasstatus => true, |
require => File['/etc/nginx/nginx.conf'] |
} |
} |