cgmanager: remove

fixes #30023
This commit is contained in:
Jörg Thalheim
2020-06-05 09:47:12 +01:00
parent fb6c3cee64
commit 073d2fc4d5
6 changed files with 2 additions and 56 deletions
@@ -1,26 +0,0 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.cgmanager;
in {
meta.maintainers = [ maintainers.mic92 ];
###### interface
options.services.cgmanager.enable = mkEnableOption "cgmanager";
###### implementation
config = mkIf cfg.enable {
systemd.services.cgmanager = {
wantedBy = [ "multi-user.target" ];
description = "Cgroup management daemon";
restartIfChanged = false;
serviceConfig = {
ExecStart = "${pkgs.cgmanager}/bin/cgmanager -m name=systemd";
KillMode = "process";
Restart = "on-failure";
};
};
};
}