Reload configuration after change in ports.conf
This patch proposes add check if was some changes in
apache configuration file and restart service after it.
Related-Prod: OSCORE-399
Change-Id: I610c4aea65c8f0a4be065580b4d1bd7c865510f9
diff --git a/horizon/server/service.sls b/horizon/server/service.sls
index dfe0a66..e7fd51c 100644
--- a/horizon/server/service.sls
+++ b/horizon/server/service.sls
@@ -66,8 +66,6 @@
- mode: 644
- user: root
- group: root
- - require_in:
- - service: horizon_services
- require:
- pkg: horizon_packages
@@ -103,6 +101,7 @@
- file: horizon_config
- file: horizon_apache_config
- file: horizon_log_file
+ - file: horizon_apache_port_config
horizon_log_dir:
file.directory: