Refresh apache on api changes
Currently apache is only restarted when UI code is changed and not when only API/python code is changed in the RefStack repository. This patch will notify apache to restart when the API is updated. Change-Id: Ie3111a3c2b9ee7dd514cf048871e9c820f545bb1
This commit is contained in:
parent
70b1bfc9b5
commit
d7e080c730
|
@ -82,6 +82,7 @@ class refstack::api () {
|
|||
refreshonly => true,
|
||||
require => Vcsrepo[$src_api_root],
|
||||
subscribe => Vcsrepo[$src_api_root],
|
||||
notify => Service['httpd'],
|
||||
}
|
||||
|
||||
# Migrate the database.
|
||||
|
|
Loading…
Reference in New Issue