aboutsummaryrefslogtreecommitdiff
path: root/deploy_pki
diff options
context:
space:
mode:
Diffstat (limited to 'deploy_pki')
-rwxr-xr-xdeploy_pki2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy_pki b/deploy_pki
index 471ff63..63c237b 100755
--- a/deploy_pki
+++ b/deploy_pki
@@ -30,7 +30,7 @@ for file in nomad-ca.crt nomad$YEAR.crt nomad$YEAR.key \
do
if pass $PKI/$file >/dev/null; then
write_pass $PKI/$file /var/lib/nomad/pki/$file
- cmd "chown \$(stat -c %u /var/lib/nomad/client/client-id) /var/lib/nomad/pki/$file"
+ cmd "chown \$(stat -c %u /var/lib/private/nomad/) /var/lib/nomad/pki/$file"
fi
done