nixos module needed some fixes
This commit is contained in:
@@ -68,11 +68,7 @@ pub fn mount(sub_matches: &ArgMatches) -> MizeResult<()> {
|
||||
|
||||
pub fn daemon(sub_matches: &ArgMatches) -> MizeResult<()> {
|
||||
let instance = Mize::with_config(config_from_cli_args(sub_matches)?)?;
|
||||
|
||||
// load all parts we need for any mize application... making a fat daemon for now.
|
||||
// in the future parts should be loaded on demand (from .so files and from parts.mize.works)
|
||||
ppc
|
||||
|
||||
|
||||
instance.wait();
|
||||
|
||||
return Ok(());
|
||||
|
||||
@@ -39,7 +39,7 @@ fn main() {
|
||||
// match command
|
||||
let result = match cli_matches.subcommand() {
|
||||
// mi daemon
|
||||
Some(("daemon", sub_matches)) => cli::run(sub_matches),
|
||||
Some(("daemon", sub_matches)) => cli::daemon(sub_matches),
|
||||
|
||||
Some(("is-running", sub_matches)) => cli::is_running(sub_matches),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user