diff --git a/modules/services/mbsync.nix b/modules/services/mbsync.nix index a14e2523..5c994cc6 100644 --- a/modules/services/mbsync.nix +++ b/modules/services/mbsync.nix @@ -87,7 +87,7 @@ in }; Service = { - Type = "simple"; + Type = "oneshot"; ExecStart = "${cfg.package}/bin/mbsync ${concatStringsSep " " mbsyncOptions}"; } // (optionalAttrs (cfg.postExec != null) { ExecStartPost = cfg.postExec; }) // (optionalAttrs (cfg.preExec != null) { ExecStartPre = cfg.preExec; });