ma bgt/download: remove obsolete netdata entry

This commit is contained in:
makefu 2020-11-18 19:37:33 +01:00
parent ccb7655103
commit 34da75341b
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -17,12 +17,14 @@ in {
PasswordAuthentication no PasswordAuthentication no
''; '';
}; };
users.users.auphonic = { users.users.auphonic = {
uid = genid "auphonic"; uid = genid "auphonic";
group = "nginx"; group = "nginx";
useDefaultShell = true; useDefaultShell = true;
openssh.authorizedKeys.keys = [ ident config.krebs.users.makefu.pubkey ]; openssh.authorizedKeys.keys = [ ident config.krebs.users.makefu.pubkey ];
}; };
services.logrotate = { services.logrotate = {
enable = true; enable = true;
config = '' config = ''
@ -41,6 +43,7 @@ in {
systemd.services.nginx.serviceConfig.ReadWritePaths = [ systemd.services.nginx.serviceConfig.ReadWritePaths = [
"/var/spool/nginx/logs/" "/var/spool/nginx/logs/"
]; ];
services.nginx = { services.nginx = {
appendHttpConfig = '' appendHttpConfig = ''
types { types {
@ -60,15 +63,4 @@ in {
''; '';
}; };
}; };
environment.etc."netdata/python.d/web_log.conf".text = ''
nginx_log3:
name: 'nginx'
path: '/var/spool/nginx/logs/access.log'
nginx_log4:
name: 'bgt'
path: '${bgtaccess}'
'';
users.users.netdata.extraGroups = [ "nginx" ];
} }