Update wikijs-install.sh

This commit is contained in:
CanbiZ 2025-02-20 16:15:45 +01:00 committed by GitHub
parent 15d20a54b3
commit 12a1f46703
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -79,8 +79,8 @@ sed -i -E '
} }
' /opt/wikijs/config.yml ' /opt/wikijs/config.yml
cd /opt/wikijs cd /opt/wikijs
$STD yarn build
$STD yarn install $STD yarn install
$STD yarn build
echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt" echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt"
msg_ok "Installed Wiki.js" msg_ok "Installed Wiki.js"
@ -101,7 +101,7 @@ WorkingDirectory=/opt/wikijs
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable --now wikijs systemctl enable -q --now wikijs
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh motd_ssh