compile-db is a helper script for use by other software
that compiles a general confdir
tries to use the result to update a general
livedir.
compile-db confdir livedir
confdir/src/*.
confdir/@xyz@_db
file with @xyz@ based on the current UNIX time.
livedir exists, that is,
a goetia based supervision tree is running,
compile-db the tries to update the live state at livedir
to @xyz@_db using
s6-rc-update.
confdir/compiled
to point to
confdir/@xyz@_db
and deletes the old database
confdir/@abc@_db.
confdir/compiled
which points to
confdir/@abc@_db.
Followed by deleting
confdir/@xyz@_db.