|
[-t $(max_session_count)] 同時間最多可以處理的連線數目 (建立的執行緒數目).
MCM_DEFAULT_MAX_SESSION_COUNT (mint_cm/mcm_daemon/mcm_daemon.c) |
||||||||
|
[-a $(server_socket_path)] 開啟服務的 Unix Domain Socket 路徑. 建議的位址路徑格式 : 開頭使用 @ 符號, 後面使用 A ~ Z, a ~ z, 0 ~ 9, -, _. 預設值 : @mintcm MCM_DEFAULT_SOCKET_PATH (mint_cm/mcm_daemon/mcm_daemon.c) |
||||||||
|
[-l $(module_path)] 內部模組函式庫的路徑, 也就是 mint_cm/mcm_daemon/mcm_module/mcm_module.lib. 注意如果檔案和程式在同目錄, 需要在路徑前面加上 ./ (例如 ./mcm_module.lib). 模組的撰寫在 #04-01# 說明. 預設值 : ./mcm_module.lib MCM_DEFAULT_MODULE_PATH (mint_cm/mcm_daemon/mcm_daemon.c) |
||||||||
|
[-m $(model_profile_path)] 資料模型檔案的路徑, 也就是 mint_cm/mcm_build/mcm_model_profile.txt. 資料模型的撰寫在 #02-01# 說明. 預設值 : mcm_model_profile.txt MCM_DEFAULT_MODEL_PATH (mint_cm/mcm_daemon/mcm_daemon.c) | ||||||||
|
[-d $(store_default_profile_path)] 資料預設值檔案的路徑. 資料預設值的撰寫在 #02-02# 說明. 預設值 : mcm_store_profile_default.txt MCM_DEFAULT_STORE_DEFAULT_PATH (mint_cm/mcm_daemon/mcm_daemon.c) |
||||||||
|
[-c $(store_current_profile_path)] 紀錄資料現在值檔案的路徑 (此路徑的檔案系統必須要可讀寫). 預設值 : mcm_store_profile_current.txt MCM_DEFAULT_STORE_CURRENT_PATH (mint_cm/mcm_daemon/mcm_daemon.c) |
||||||||
|
[-s $(save_mode)] 資料現在值檔案的儲存方式.
MCM_DEFAULT_STORE_SAVE_MODE (mint_cm/mcm_daemon/mcm_daemon.c) |
||||||||
|
[-e $(error_handle)] 資料現在值檔案錯誤時的處理方式. 處理方式在 #07-01# 說明.
MCM_DEFAULT_STORE_ERROR_HANDLE (mint_cm/mcm_daemon/mcm_daemon.c) |
||||||||
|
[-p $(pid_path)] 紀錄 mcm_daemon 的 PID 的檔案的路徑. 預設值 : /var/run/mcm_daemon.pid MCM_DEFAULT_PID_PATH (mint_cm/mcm_daemon/mcm_daemon.c) |
| -t 0 |
| -a @mintcm |
| -l ./mcm_module.lib |
| -m mcm_model_profile.txt |
| -d mcm_store_profile_default.txt |
| -c mcm_store_profile_current.txt |
| -s 0 |
| -e 0 |
| -p /var/run/mcm_daemon.pid |
| SIGINT |
| SIGQUIT |
| SIGTERM |