Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3934677
D955.id2437.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
685 B
Referenced Files
None
Subscribers
None
D955.id2437.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D955: Reload nginx after any configuration file is updated
Attached
Detach File
Event Timeline
Log In to Comment