Tweak infinoted config a bit more. Make sync 60 seconds instead of 10

add a handler to restart on config changes.
This commit is contained in:
Kevin Fenzi 2015-10-13 20:15:57 +00:00
parent bfb5cf4790
commit 57eb9b4f8f
3 changed files with 5 additions and 4 deletions

View file

@ -192,3 +192,6 @@
- name: restart autocloud
service: name=autocloud state=restarted
- name: restart infinoted
service: name=infinoted state=restarted

View file

@ -89,6 +89,7 @@
- name: add config file for infinoted
template: src=infinoted.conf dest=/etc/xdg/infinoted.conf
notify: restart infinoted
tags:
- infinote
- config

View file

@ -10,13 +10,10 @@ password={{ infinotepassword }}
[autosave]
interval=60
# TODO: write git hook. https://github.com/gobby/gobby/wiki/PluginAutosave
#hook=
[directory-sync]
directory=/srv/web/infinote
interval=10
# TODO: write git hook. https://github.com/gobby/gobby/wiki/PluginDirectorySync
interval=60
hook=/usr/local/bin/infinoted-git-commit
[logging]