-
Couldn't load subscription status.
- Fork 0
Configuration
Niklaus Schen edited this page Nov 15, 2023
·
3 revisions
The configuration of Meproc is very simple, with only the following configuration options.
Conf = [
'ip': '0.0.0.0',
'port': '8606',
'log_level': 'debug',
'log_dir': '/tmp',
'web': [
'ip': '127.0.0.1',
'port': '8606',
],
'bootstrap_cmd': '',
];
-
ipis the address that Meproc service listens to HTTP requests on. -
portis the port where the Meproc service listens for HTTP requests. -
log_levelis the log output level of Meproc. There are four log levels, ranked from low to high:
debuginfowarnerror
-
log_diris the path to the directory where the log files are located. This directory contains not only the log file for Meproc (Meproc.log), but also the log files of all task processes' output content. -
webis used for Ajax requests from the web page to access Meproc. Theipandportmentioned here are the external IP and port of Meproc. -
bootstrap_cmdis a shell command that will be automatically executed when Meproc starts. It can be used to automatically start tasks when Meproc starts.
That's all.