mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 21:55:03 +02:00
parent
4932df1171
commit
a00fbca5f4
@ -128,7 +128,7 @@ if [ -n "$1" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Installing the certificate bundle..."
|
echo "Installing the certificate bundle..."
|
||||||
tar -C $ICINGA2CONFIG/pki/agent/ -zxf "$1" || exit 1
|
base64 -d < $1 | tar -C $ICINGA2CONFIG/pki/agent/ -zx || exit 1
|
||||||
chown @ICINGA2_USER@:@ICINGA2_GROUP@ $ICINGA2CONFIG/pki/agent/* || exit 1
|
chown @ICINGA2_USER@:@ICINGA2_GROUP@ $ICINGA2CONFIG/pki/agent/* || exit 1
|
||||||
|
|
||||||
echo "Setting up agent configuration..."
|
echo "Setting up agent configuration..."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user