1 2 3 4 5 6 7 8 9
post_install() { echo "Initializing OwnTracks database..." ot-recorder --initialize } post_upgrade() { echo "Upgrading OwnTracks database..." ot-recorder --initialize }