aboutsummaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-01-03 23:47:55 +0100
committerAlex Auvolat <alex@adnab.me>2022-01-03 23:47:55 +0100
commit143683ed2da5f537a7586b7263e648403b18ed17 (patch)
tree6549cd1a1988a16e952d39f32869a68b8b2a8c28 /deploy.sh
parent1ade671f964516976151ab8b2e8dc6027aa9e73f (diff)
downloadnixcfg-143683ed2da5f537a7586b7263e648403b18ed17.tar.gz
nixcfg-143683ed2da5f537a7586b7263e648403b18ed17.zip
Add cron job to clean up stuff; fix genpki
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy.sh b/deploy.sh
index 1354fd3..a30b8c6 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -72,5 +72,5 @@ consul kv put secrets/consul/consul-client.key - < /var/lib/consul/pki/consul$YE
EOF
ssh -t -F ssh_config $SSH_DEST sudo sh $TMP_PATH/deploy.sh
- ssh -F ssh_config $SSH_DEST rm -rv $TMP_PATH
+ ssh -F ssh_config $SSH_DEST rm -rv '/tmp/tmp-deploy-*'
done