summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-11-18 19:37:33 +0100
committermakefu <github@syntax-fehler.de>2020-11-18 19:37:33 +0100
commit34da75341bc63e0ade7a6a5596891655d4f82659 (patch)
tree00f80443ce6a0b147c7adda13b8853e5f014e857
parentccb7655103ff13e1ed9bb7e85dbc2fd644b1e5f5 (diff)
ma bgt/download: remove obsolete netdata entry
-rw-r--r--makefu/2configs/bgt/download.binaergewitter.de.nix14
1 files changed, 3 insertions, 11 deletions
diff --git a/makefu/2configs/bgt/download.binaergewitter.de.nix b/makefu/2configs/bgt/download.binaergewitter.de.nix
index e3be6778f..4abc7d345 100644
--- a/makefu/2configs/bgt/download.binaergewitter.de.nix
+++ b/makefu/2configs/bgt/download.binaergewitter.de.nix
@@ -17,12 +17,14 @@ in {
PasswordAuthentication no
'';
};
+
users.users.auphonic = {
uid = genid "auphonic";
group = "nginx";
useDefaultShell = true;
openssh.authorizedKeys.keys = [ ident config.krebs.users.makefu.pubkey ];
};
+
services.logrotate = {
enable = true;
config = ''
@@ -41,6 +43,7 @@ in {
systemd.services.nginx.serviceConfig.ReadWritePaths = [
"/var/spool/nginx/logs/"
];
+
services.nginx = {
appendHttpConfig = ''
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" ];
-
}