Page MenuHomeDevCentral

D955.id2437.diff
No OneTemporary

D955.id2437.diff

diff --git a/roles/shellserver/web-hosting/init.sls b/roles/shellserver/web-hosting/init.sls
--- a/roles/shellserver/web-hosting/init.sls
+++ b/roles/shellserver/web-hosting/init.sls
@@ -22,14 +22,10 @@
- clean: False
- dir_mode: 755
- file_mode: 644
- - cmd.run:
- - name: nginx -s reload
- - onchanges:
- {% if grains['os'] == 'FreeBSD' %}
- - file: /usr/local/etc/nginx/nginx.conf
- {% else %}
- - file: /etc/nginx/nginx.conf
- {% endif %}
+ cmd.run:
+ - name: nginx -s reload
+ - onchanges:
+ - file: nginx_config_files
# -------------------------------------------------------------
# Nginx logs

File Metadata

Mime Type
text/plain
Expires
Tue, Dec 24, 06:13 (17 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2313375
Default Alt Text
D955.id2437.diff (685 B)

Event Timeline