remove samba stuff from netdata again
This commit is contained in:
parent
4a01d917e3
commit
ba7aa1f1a7
1 changed files with 11 additions and 11 deletions
|
@ -7,20 +7,20 @@
|
||||||
"memory mode" = "ram";
|
"memory mode" = "ram";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
configDir."python.d.conf" = pkgs.writeText "python.d.conf" ''
|
#configDir."python.d.conf" = pkgs.writeText "python.d.conf" ''
|
||||||
example: yes
|
# example: yes
|
||||||
default_run: no
|
# default_run: no
|
||||||
samba: yes
|
# samba: yes
|
||||||
'';
|
#'';
|
||||||
};
|
};
|
||||||
|
|
||||||
# add samba to path of python plugin
|
# add samba to path of python plugin
|
||||||
systemd.services.netdata.path = [ pkgs.sudo pkgs.samba ];
|
#systemd.services.netdata.path = [ pkgs.sudo pkgs.samba ];
|
||||||
systemd.services.netdata.serviceConfig.CapabilityBoundingSet = [ "~" ];
|
#systemd.services.netdata.serviceConfig.CapabilityBoundingSet = [ "~" ];
|
||||||
security.sudo.extraConfig = ''
|
#security.sudo.extraConfig = ''
|
||||||
netdata ALL=(root) NOPASSWD: ${pkgs.samba}/bin/smbstatus
|
# netdata ALL=(root) NOPASSWD: ${pkgs.samba}/bin/smbstatus
|
||||||
netdata ALL=(root) NOPASSWD: /run/current-system/sw/bin/smbstatus
|
# netdata ALL=(root) NOPASSWD: /run/current-system/sw/bin/smbstatus
|
||||||
'';
|
#'';
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue