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:
parent
bfb5cf4790
commit
57eb9b4f8f
3 changed files with 5 additions and 4 deletions
|
@ -192,3 +192,6 @@
|
|||
|
||||
- name: restart autocloud
|
||||
service: name=autocloud state=restarted
|
||||
|
||||
- name: restart infinoted
|
||||
service: name=infinoted state=restarted
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue