CT Linkwarden Postgresq: Debian 13 fixes

linkwarden: removed unnecessary build step, fixed deploy command
postgresql: locked major version, bumpt it from 17 to 18, updated config for compatibility, added sleep to config to make sure Postgres is up
aptcacherng: skips overwriting existing service symlink
This commit is contained in:
2025-10-28 00:16:48 +01:00
parent 4b886383c8
commit 0876675006
7 changed files with 22 additions and 8 deletions

View File

@@ -24,7 +24,7 @@ sed -i "s#http://localhost:3000#$LinkwardenURL#" /opt/node/linkwarden/.env
#Save PM2 statup config
sudo -u node bash << EOF
(cd /opt/node/linkwarden; yarn prisma migrate deploy)
(cd /opt/node/linkwarden; yarn prisma:deploy)
pm2 install pm2-logrotate
pm2 start yarn --name Linkwarden --cwd /opt/node/linkwarden -- concurrently:start
pm2 save