Commit 9d54c5900026cc60e5f8a93e7efd3d142643dfc9
1 parent
48c35a4b
Exists in
master
and in
90 other branches
colab: restart service when settings.yaml changes
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
cookbooks/colab/recipes/default.rb
| @@ -24,6 +24,7 @@ template '/etc/colab/settings.yaml' do | @@ -24,6 +24,7 @@ template '/etc/colab/settings.yaml' do | ||
| 24 | owner 'root' | 24 | owner 'root' |
| 25 | group 'colab' | 25 | group 'colab' |
| 26 | mode 0640 | 26 | mode 0640 |
| 27 | + notifies :restart, 'service[colab]' | ||
| 27 | end | 28 | end |
| 28 | 29 | ||
| 29 | execute 'colab-admin migrate' | 30 | execute 'colab-admin migrate' |