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";
|
||||
};
|
||||
};
|
||||
configDir."python.d.conf" = pkgs.writeText "python.d.conf" ''
|
||||
example: yes
|
||||
default_run: no
|
||||
samba: yes
|
||||
'';
|
||||
#configDir."python.d.conf" = pkgs.writeText "python.d.conf" ''
|
||||
# example: yes
|
||||
# default_run: no
|
||||
# samba: yes
|
||||
#'';
|
||||
};
|
||||
|
||||
# add samba to path of python plugin
|
||||
systemd.services.netdata.path = [ pkgs.sudo pkgs.samba ];
|
||||
systemd.services.netdata.serviceConfig.CapabilityBoundingSet = [ "~" ];
|
||||
security.sudo.extraConfig = ''
|
||||
netdata ALL=(root) NOPASSWD: ${pkgs.samba}/bin/smbstatus
|
||||
netdata ALL=(root) NOPASSWD: /run/current-system/sw/bin/smbstatus
|
||||
'';
|
||||
#systemd.services.netdata.path = [ pkgs.sudo pkgs.samba ];
|
||||
#systemd.services.netdata.serviceConfig.CapabilityBoundingSet = [ "~" ];
|
||||
#security.sudo.extraConfig = ''
|
||||
# netdata ALL=(root) NOPASSWD: ${pkgs.samba}/bin/smbstatus
|
||||
# netdata ALL=(root) NOPASSWD: /run/current-system/sw/bin/smbstatus
|
||||
#'';
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue