20 lines
635 B
JavaScript
20 lines
635 B
JavaScript
module.exports = {
|
|
apps: [
|
|
{
|
|
name: 'sanguo-file-watcher',
|
|
script: '/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/management/sanguo_auto_sync/file-watcher.sh',
|
|
cwd: '/Users/chufeng/.openclaw/sanguo_projects',
|
|
exec_mode: 'fork',
|
|
instances: 1,
|
|
autorestart: true,
|
|
watch: false,
|
|
max_memory_restart: '100M',
|
|
out_file: '/Users/chufeng/.openclaw/sanguo_projects/file-watcher.log',
|
|
error_file: '/Users/chufeng/.openclaw/sanguo_projects/file-watcher.log',
|
|
log_date_format: 'YYYY-MM-DD HH:mm:ss',
|
|
restart_delay: 5000,
|
|
max_restarts: 10,
|
|
}
|
|
]
|
|
};
|