USe sudo user when testing for files/directories with exist.
Change the database file’s mode before downloading.

Vagrant had problems with that.
Let the specific management script handle the start and stop of the zeo server.