use autoUpgrade service instead of cachix deploy for better monitoring
This commit is contained in:
parent
9f62d6012c
commit
e04003d670
6 changed files with 7 additions and 107 deletions
6
tasks.py
6
tasks.py
|
@ -192,9 +192,3 @@ def cleanup_gcroots(c, hosts=""):
|
|||
g = DeployGroup(get_hosts(hosts))
|
||||
g.run("find /nix/var/nix/gcroots/auto -type s -delete")
|
||||
g.run("systemctl restart nix-gc")
|
||||
|
||||
|
||||
@task
|
||||
def restart_cachix_deploy(c, hosts=""):
|
||||
g = DeployGroup(get_hosts(hosts))
|
||||
g.run("systemctl restart cachix-deploy-agent")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue