Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | // Some custom Gate One settings for OpenEmbedded |
| 2 | { |
| 3 | "*": { |
| 4 | "gateone": { // These settings apply to all of Gate One |
| 5 | "log_file_prefix": "@localstate@/log/gateone.log", // default would be /var/log/gateone/gateone.log |
| 6 | "log_file_max_size": 5242880, // 5 megabyte logs for OE by default (default would normally be 100Mb) |
| 7 | "log_file_num_backups": 2, // Default is normally 10 |
| 8 | "origins": ["*"], // Every device has a unique origin |
| 9 | "logging": "info", |
| 10 | "pid_file": "/run/gateone.pid", |
| 11 | "session_dir": "/tmp/gateone", |
| 12 | "user_dir": "@localstate@/lib/gateone/users" |
| 13 | }, |
| 14 | "terminal": { |
| 15 | // Disabling session logging for embedded devices is a good idea (limited/slow storage) |
| 16 | "session_logging": false, |
| 17 | "syslog_session_logging": false |
| 18 | // "commands": { |
| 19 | // // For some reason this doesn't work (never asks for the password) |
| 20 | // "login": "setsid /bin/login" // Normally this would emulate logging into the host console |
| 21 | // } |
| 22 | } |
| 23 | } |
| 24 | } |