Quiesce systemctl enable output; add move DB to hoarder_data

This commit is contained in:
vhsdream 2024-11-27 17:48:44 -05:00
parent 2bfc30563f
commit aace44b2ce

View File

@ -102,6 +102,7 @@ msg_ok "Installed Hoarder"
msg_info "Running Database Migration" msg_info "Running Database Migration"
cd /opt/hoarder/packages/db cd /opt/hoarder/packages/db
pnpm migrate pnpm migrate
mv db.db /opt/hoarder_data
msg_ok "Database Migration Completed" msg_ok "Database Migration Completed"
msg_info "Setting up Services" msg_info "Setting up Services"
@ -168,7 +169,7 @@ Restart=always
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable --now meilisearch.service hoarder-web.service hoarder-browser.service hoarder-workers.service systemctl -q enable --now meilisearch.service hoarder-web.service hoarder-browser.service hoarder-workers.service
msg_ok "Set up Services" msg_ok "Set up Services"
msg_info "Cleaning up" msg_info "Cleaning up"