aboutsummaryrefslogtreecommitdiff
path: root/modules/private/monitoring/default.nix
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-12-05 00:51:45 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-12-05 00:51:45 +0100
commit9f6a78629aad1d22dc8b928860fd05eb40f07352 (patch)
tree25c918ccd80eeb3e04d5d0c3ed4815ff3de5dcae /modules/private/monitoring/default.nix
parent304a7dac48405d63a5d20466d4afc7ba04d11164 (diff)
downloadNix-9f6a78629aad1d22dc8b928860fd05eb40f07352.tar.gz
Nix-9f6a78629aad1d22dc8b928860fd05eb40f07352.tar.zst
Nix-9f6a78629aad1d22dc8b928860fd05eb40f07352.zip
Add mysql replication
Diffstat (limited to 'modules/private/monitoring/default.nix')
-rw-r--r--modules/private/monitoring/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/private/monitoring/default.nix b/modules/private/monitoring/default.nix
index 0259cbf..baeebc9 100644
--- a/modules/private/monitoring/default.nix
+++ b/modules/private/monitoring/default.nix
@@ -77,6 +77,13 @@ in
77 { command = "${myplugins}/check_last_file_date /backup2/*"; options = [ "NOPASSWD" ]; } 77 { command = "${myplugins}/check_last_file_date /backup2/*"; options = [ "NOPASSWD" ]; }
78 ]; 78 ];
79 users = [ "naemon" ]; 79 users = [ "naemon" ];
80 runAs = "mysql";
81 }
82 {
83 commands = [
84 { command = "${myplugins}/check_last_file_date /backup2/*"; options = [ "NOPASSWD" ]; }
85 ];
86 users = [ "naemon" ];
80 runAs = "backup"; 87 runAs = "backup";
81 } 88 }
82 ]; 89 ];