Skip to content

Commit 4a5539d

Browse files
committed
fix: revert blocking bash errors on install_kms_xxx
1 parent 0b0ef76 commit 4a5539d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

scripts/install_kms_redhat.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!/bin/bash
22

3-
set +ex
3+
set +x
44

55
# Update packages and install dependencies
66
yum update -y && yum install -y nginx
77

88
# Copy the executable
9-
cp ./rhel9/cosmian_kms_server /usr/local/sbin/cosmian_kms && chmod 755 /usr/local/sbin/cosmian_kms
9+
cp ./rhel9/cosmian_kms_server /usr/local/sbin/cosmian_kms && chmod 755 /usr/local/sbin/cosmian_kms && rm -rf rhel9
1010

1111
# Configure Supervisor
1212
cat >/etc/supervisord.d/cosmian_kms.ini <<EOF

scripts/install_kms_ubuntu.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#!/bin/bash
22

3-
set +ex
3+
set +x
44

55
export DEBIAN_FRONTEND=noninteractive
66

77
# Update packages and install dependencies
88
apt-get update && apt-get install --no-install-recommends -y nginx && apt-get clean && rm -rf /var/lib/apt/lists/*
99

1010
# Copy the executable
11-
cp ./ubuntu_22_04/cosmian_kms_server /usr/local/sbin/cosmian_kms && chmod 755 /usr/local/sbin/cosmian_kms
11+
cp ./ubuntu_22_04/cosmian_kms_server /usr/local/sbin/cosmian_kms && chmod 755 /usr/local/sbin/cosmian_kms && rm -rf ubuntu_22_04
1212

1313
# Configure Supervisor
1414
cat >/etc/supervisor/conf.d/cosmian_kms.conf <<EOF

0 commit comments

Comments
 (0)