chore: log file destination

This commit is contained in:
Ben Allfree 2023-06-14 11:04:35 +00:00
parent 17287a5ca6
commit 2fbc3d1ca9
4 changed files with 4 additions and 3 deletions

View File

@ -32,3 +32,4 @@ This is a maintenance release.
- Chore: remove `platform` field from instances and backups
- Docs: converted to GitBook
- Fix: Increased release page limit to 100 because some old PocketBase releases were getting dropped from the github API query
- Chore: adjust logfile destination on live server

View File

@ -6,7 +6,7 @@
"build": "echo 'Build complete' `date`",
"dev": "tsx watch src/server.ts",
"start": "tsx src/server.ts",
"pm2": "pm2 del daemon ; pm2 start \"yarn start\" --name=daemon -o daemon.log -e daemon.log",
"pm2": "pm2 del daemon ; pm2 start \"yarn start\" --name=daemon -o ~/logs/daemon.log -e ~/logs/daemon.log",
"migrate": "tsx src/migrate/migrate.ts"
},
"dependencies": {

View File

@ -11,7 +11,7 @@
"lint": "prettier --check .",
"format": "prettier --write .",
"start": "HOST=localhost PORT=5173 node dist-server/index.js",
"pm2": "pm2 del www ; pm2 start \"yarn start\" --name=www",
"pm2": "pm2 del www ; pm2 start \"yarn start\" --name=www -o ~/logs/www.log -e ~/logs/www.log",
"watch": "chokidar 'src/**' -c 'yarn build' --initial"
},
"devDependencies": {

View File

@ -6,7 +6,7 @@
"scripts": {
"dev": "tsx watch src/index.ts",
"start": "tsx src/index.ts",
"pm2": "pm2 del proxy ; pm2 start \"yarn start\" --name=proxy"
"pm2": "pm2 del proxy ; pm2 start \"yarn start\" --name=proxy -o ~/logs/proxy.log -e ~/logs/proxy.log"
},
"dependencies": {
"@types/node": "^18.11.17",