浏览代码

Merge pull request #73 from olo-dw/vhost_restart

Restart instead of reload after remove default.
Jeff Geerling 9 年之前
父节点
当前提交
19b1c5c9ba
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tasks/vhosts.yml

+ 1 - 1
tasks/vhosts.yml

@@ -4,7 +4,7 @@
     path: "{{ nginx_default_vhost_path }}"
     path: "{{ nginx_default_vhost_path }}"
     state: absent
     state: absent
   when: nginx_remove_default_vhost
   when: nginx_remove_default_vhost
-  notify: reload nginx
+  notify: restart nginx
 
 
 - name: Ensure nginx_vhost_path exists.
 - name: Ensure nginx_vhost_path exists.
   file:
   file: