mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-07-09 17:28:31 +00:00
Update Docmost configuration and service start messages
This commit is contained in:
parent
25045ef344
commit
9e559c0b3a
1 changed files with 3 additions and 3 deletions
|
|
@ -39,9 +39,7 @@ function update_script() {
|
|||
|
||||
create_backup /opt/docmost/.env \
|
||||
/opt/docmost/data
|
||||
|
||||
fetch_and_deploy_gh_release "docmost" "docmost/docmost" "tarball"
|
||||
|
||||
restore_backup
|
||||
|
||||
# Fix: Docmost EE (audit logs etc.) lives in a git submodule that is NOT
|
||||
|
|
@ -54,9 +52,11 @@ function update_script() {
|
|||
sed -i '/^@Module({$/i @Global()' /opt/docmost/apps/server/src/core/core.module.ts
|
||||
fi
|
||||
|
||||
msg_insfo "Configuring Docmost"
|
||||
cd /opt/docmost
|
||||
$STD pnpm install --force
|
||||
$STD pnpm build
|
||||
msg_ok "Updated ${APP}"
|
||||
msg_ok "Configured Docmost"
|
||||
|
||||
msg_info "Starting Service"
|
||||
systemctl start docmost
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue