HOWTO sync your password database on startup - binbash23/p GitHub Wiki
If you want to merge/sync your password database always on start or stop of the program, you can the commands executeonstart and executeonstop:
executeonstart merge2webdav
or
executeonstop merge2webdav