peach-workspace/peach-config/src/constants.rs

23 lines
861 B
Rust
Raw Permalink Normal View History

2021-08-06 17:58:40 +00:00
// Directory on peachcloud device where CONF files are store
// before they are copied to their eventual locations
pub const CONF: &str = "/var/lib/peachcloud/conf";
// List of package names which are installed via apt-get
2022-01-13 17:30:46 +00:00
pub const SERVICES: [&str; 8] = [
2021-08-06 17:58:40 +00:00
"peach-web",
"peach-probe",
2022-01-13 17:21:51 +00:00
"peach-menu",
2022-01-13 17:30:46 +00:00
"peach-buttons",
"peach-oled",
2021-08-06 17:58:40 +00:00
"peach-dyndns-updater",
"go-sbot",
2021-08-06 17:58:40 +00:00
"peach-config",
];
// File path to where current hardware configurations are stored
// note: this is stored separately from /var/lib/peachcloud/config.yml
// because it is not a configuration which should be manually edited
// the values in the hardware_config.json are a log of what peach-config configured
// whereas the values in config.yml can be manually modified if needed
pub const HARDWARE_CONFIG_FILE: &str = "/var/lib/peachcloud/hardware_config.json";