mirror of
https://codeberg.org/icewind/haze.git
synced 2026-08-02 12:14:46 +02:00
allow exec'ing service containers
This commit is contained in:
parent
fc6cde4161
commit
d138740bbd
7 changed files with 74 additions and 16 deletions
|
|
@ -194,6 +194,14 @@ pub trait ServiceTrait {
|
|||
fn proxy_port(&self) -> u16 {
|
||||
80
|
||||
}
|
||||
|
||||
fn exec_user(&self) -> &'static str {
|
||||
"root"
|
||||
}
|
||||
|
||||
fn exec_shell(&self) -> &'static str {
|
||||
"bash"
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Eq, PartialEq, Debug)]
|
||||
|
|
@ -242,6 +250,7 @@ pub enum ServiceType {
|
|||
/// Ldap admin interface
|
||||
LdapAdmin,
|
||||
/// OnlyOffice
|
||||
#[strum(serialize = "onlyoffice", serialize = "only-office")]
|
||||
OnlyOffice,
|
||||
/// Libre office online
|
||||
Office,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue