diff options
author | EuAndreh <eu@euandre.org> | 2021-07-25 15:07:04 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-07-25 15:07:04 -0300 |
commit | 635c81b04230c79774ed589ae1362f7c2b647812 (patch) | |
tree | 535a19788cb712ebe3a4a3e128919df0c3389e74 | |
parent | ssh.conf: Add commented useful debug line (diff) | |
download | server-635c81b04230c79774ed589ae1362f7c2b647812.tar.gz server-635c81b04230c79774ed589ae1362f7c2b647812.tar.xz |
opt/bin/gc.sh: Use set -x option and remove /tmp
-rwxr-xr-x | opt/bin/gc.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/opt/bin/gc.sh b/opt/bin/gc.sh index ad025f6..86f5895 100755 --- a/opt/bin/gc.sh +++ b/opt/bin/gc.sh @@ -1,6 +1,7 @@ #!/bin/sh -set -eu +set -eux nix-store --gc nix-collect-garbage -d guix gc -d +rm -rf /tmp/ |