mirror of
https://github.com/pockethost/pockethost.git
synced 2025-03-30 15:08:30 +00:00
chore(root): add gobot downloader scripts and pm2
This commit is contained in:
parent
dc9f332aa7
commit
ce464a1285
@ -26,6 +26,11 @@ module.exports = {
|
||||
restart_delay: 60 * 60 * 1000, // 1 hour
|
||||
script: 'pnpm prod:cli mothership update',
|
||||
},
|
||||
{
|
||||
name: `downloader`,
|
||||
restart_delay: 60 * 60 * 1000, // 1 hour
|
||||
script: 'pnpm gobot:download',
|
||||
},
|
||||
{
|
||||
name: `health`,
|
||||
restart_delay: 60 * 1000, // 1 minute
|
||||
|
@ -30,7 +30,9 @@
|
||||
"prod:cli": "tsx ./src/cli/index.ts",
|
||||
"plop": "plop --no-progress",
|
||||
"nofile": "cat /proc/sys/fs/file-nr",
|
||||
"mail": "tsx ./src/cli/sendmail.ts"
|
||||
"mail": "tsx ./src/cli/sendmail.ts",
|
||||
"gobot:download": "gobot download pocketbase",
|
||||
"gobot:download:all": "gobot download pocketbase --g-use-version='*'"
|
||||
},
|
||||
"prettier": {
|
||||
"semi": false,
|
||||
|
Loading…
x
Reference in New Issue
Block a user