mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 20:43:41 +00:00
purge the word app
This commit is contained in:
@@ -1,21 +1,11 @@
|
||||
pub const CONFIG_PATH: &'static str = "/etc/embassy/config.toml";
|
||||
pub const TOR_RC: &'static str = "/root/appmgr/tor/torrc";
|
||||
pub const SERVICES_YAML: &'static str = "tor/services.yaml";
|
||||
pub const VOLUMES: &'static str = "/root/volumes";
|
||||
pub const PERSISTENCE_DIR: &'static str = "/root/appmgr";
|
||||
pub const TMP_DIR: &'static str = "/root/tmp/appmgr";
|
||||
pub const BACKUP_MOUNT_POINT: &'static str = "/mnt/backup_drive";
|
||||
pub const BACKUP_DIR: &'static str = "Embassy Backups";
|
||||
pub const BUFFER_SIZE: usize = 1024;
|
||||
pub const HOST_IP: [u8; 4] = [172, 18, 0, 1];
|
||||
|
||||
lazy_static::lazy_static! {
|
||||
pub static ref REGISTRY_URL: String = std::env::var("REGISTRY_URL").unwrap_or_else(|_| "https://registry.start9labs.com".to_owned());
|
||||
pub static ref SYS_REGISTRY_URL: String = format!("{}/sys", *REGISTRY_URL);
|
||||
pub static ref APP_REGISTRY_URL: String = format!("{}/apps", *REGISTRY_URL);
|
||||
pub static ref QUIET: tokio::sync::RwLock<bool> = tokio::sync::RwLock::new(!std::env::var("APPMGR_QUIET").map(|a| a == "0").unwrap_or(true));
|
||||
}
|
||||
|
||||
pub mod action;
|
||||
pub mod auth;
|
||||
pub mod backup;
|
||||
|
||||
Reference in New Issue
Block a user