[sysadmin-bin] Drop nsd-control rebuild



commit 2977fbeca061271a5d05994ac1600abdbaa0d40b
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Mon Mar 7 19:34:01 2022 +0100

    Drop nsd-control rebuild

 certbot/auth-hook    | 1 -
 certbot/cleanup-hook | 1 -
 2 files changed, 2 deletions(-)
---
diff --git a/certbot/auth-hook b/certbot/auth-hook
index 2349601..33ead03 100755
--- a/certbot/auth-hook
+++ b/certbot/auth-hook
@@ -57,7 +57,6 @@ def main():
 
         repo.remotes[0].push(["refs/heads/master:refs/heads/master"])
 
-        subprocess.run(["sudo", "/usr/sbin/nsd-control", "rebuild"], check=True)
         subprocess.run(["sudo", "/usr/sbin/nsd-control", "reload"], check=True)
         subprocess.run(["sudo", "/usr/sbin/nsd-control", "notify"], check=True)
 
diff --git a/certbot/cleanup-hook b/certbot/cleanup-hook
index 85c673f..6c182e0 100755
--- a/certbot/cleanup-hook
+++ b/certbot/cleanup-hook
@@ -61,7 +61,6 @@ def main():
 
         repo.remotes[0].push(["refs/heads/master:refs/heads/master"])
 
-        subprocess.run(["sudo", "/usr/sbin/nsd-control", "rebuild"], check=True)
         subprocess.run(["sudo", "/usr/sbin/nsd-control", "reload"], check=True)
         subprocess.run(["sudo", "/usr/sbin/nsd-control", "notify"], check=True)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]