forked from openupm/openupm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pm2-build.yml
54 lines (54 loc) · 1.56 KB
/
pm2-build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
apps:
- name: queue-main
instance_var: queue-main
cwd: /home/openupm/openupm
script: app/queues/process.js
args: main
error_file: ./logs/queue-main-error.log
out_file: ./logs/queue-main.log
combine_logs: true
max_memory_restart: 512M
max_restarts: 5
autorestart: true
- name: pkg-build
instance_var: pkg-build
cwd: /home/openupm/openupm
script: ./app/jobs/addBuildPackageJob.js
args: --all
error_file: ./logs/pkg-build-error.log
out_file: ./logs/pkg-build.log
combine_logs: true
max_memory_restart: 512M
cron_restart: "*/5 * * * *"
autorestart: false
- name: pkg-extra
instance_var: pkg-extra
cwd: /home/openupm/openupm
script: ./app/jobs/fetchPackageExtra.js
args: --all
error_file: ./logs/pkg-extra-error.log
out_file: ./logs/pkg-extra.log
combine_logs: true
max_memory_restart: 512M
cron_restart: "*/30 * * * *"
autorestart: false
- name: recent-packages
instance_var: recent-packages
cwd: /home/openupm/openupm
script: ./app/jobs/updateRecentPackages.js
error_file: ./logs/recent-packages-error.log
out_file: ./logs/recent-packages.log
combine_logs: true
max_memory_restart: 512M
cron_restart: "*/15 * * * *"
autorestart: false
- name: site-info
instance_var: site-info
cwd: /home/openupm/openupm
script: ./app/jobs/fetchSiteInfo.js
error_file: ./logs/site-info-error.log
out_file: ./logs/site-info.log
combine_logs: true
max_memory_restart: 512M
cron_restart: "*/5 * * * *"
autorestart: false