database: move fallback exec script to /usr, and respect libexec
These commits are split from !203 (merged) since they seem to not require that much discussion
These commits are split from !203 (merged) since they seem to not require that much discussion