mirror of
https://github.com/pockethost/pockethost.git
synced 2025-06-06 22:26:45 +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
|
restart_delay: 60 * 60 * 1000, // 1 hour
|
||||||
script: 'pnpm prod:cli mothership update',
|
script: 'pnpm prod:cli mothership update',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: `downloader`,
|
||||||
|
restart_delay: 60 * 60 * 1000, // 1 hour
|
||||||
|
script: 'pnpm gobot:download',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: `health`,
|
name: `health`,
|
||||||
restart_delay: 60 * 1000, // 1 minute
|
restart_delay: 60 * 1000, // 1 minute
|
||||||
|
@ -30,7 +30,9 @@
|
|||||||
"prod:cli": "tsx ./src/cli/index.ts",
|
"prod:cli": "tsx ./src/cli/index.ts",
|
||||||
"plop": "plop --no-progress",
|
"plop": "plop --no-progress",
|
||||||
"nofile": "cat /proc/sys/fs/file-nr",
|
"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": {
|
"prettier": {
|
||||||
"semi": false,
|
"semi": false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user