68 lines
1.6 KiB
INI
68 lines
1.6 KiB
INI
;
|
|
; Home directory of pm2.
|
|
;
|
|
pm2 = ~/.pm2
|
|
;
|
|
; The monitor will fetch system CPU/Memory amount after this certain time interval.
|
|
; it could be milliseconds or various time formats(https://github.com/zeit/ms)
|
|
;
|
|
refresh = 5s
|
|
;
|
|
; Port of Web server and socket agent.
|
|
;
|
|
port = 8088
|
|
;
|
|
; A value indicates whether or not run the pm2-gui as damonization.
|
|
;
|
|
daemonize = false
|
|
;
|
|
; A value indicates whether or not the action buttons (i.e. `restart`, `stop all`...) should be displayed on web page.
|
|
;
|
|
readonly = false
|
|
;
|
|
; The monitor will fetch process CPU/Memory amount after this certain time interval.
|
|
; it could be milliseconds or various time formats(https://github.com/zeit/ms)
|
|
;
|
|
process_refresh = 3s
|
|
|
|
[log]
|
|
;
|
|
; Log directory.
|
|
;
|
|
dir = ./logs
|
|
;
|
|
; A value indicates whether or not display the [INFO], [ERROR].. prefixes before log message.
|
|
;
|
|
prefix = true
|
|
;
|
|
; A value indicates whether or not display the local date string before log message.
|
|
;
|
|
date = false
|
|
;
|
|
; Log level, one of debug, log, info, warn, error.
|
|
;
|
|
level = info
|
|
;
|
|
; Socket.io origins check, e.g.:
|
|
; origins = 'example.com:* http://example.com:* http://www.example.com:8088'
|
|
; By default:
|
|
; origins = *:*
|
|
|
|
[agent]
|
|
;
|
|
; This authorization will be used to authorize socket / web connections if it's set.
|
|
;
|
|
;authorization = AuTh
|
|
;
|
|
; A value indicates whether agent offline or not.
|
|
;
|
|
; offline = true
|
|
[remotes]
|
|
;
|
|
; the dashboard and web server will use this section to connect remoting socket server
|
|
; server_name = [authorization@]host:port
|
|
;
|
|
; pm2@171 = AuTh@https://192.168.1.171:9002/sockserv
|
|
; pm2@172 = 192.168.1.172:9001
|
|
; pm2@173 = 192.168.1.173:9000
|
|
; |