File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- set +ex
3
+ set +x
4
4
5
5
# Update packages and install dependencies
6
6
yum update -y && yum install -y nginx
7
7
8
8
# 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
10
10
11
11
# Configure Supervisor
12
12
cat > /etc/supervisord.d/cosmian_kms.ini << EOF
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- set +ex
3
+ set +x
4
4
5
5
export DEBIAN_FRONTEND=noninteractive
6
6
7
7
# Update packages and install dependencies
8
8
apt-get update && apt-get install --no-install-recommends -y nginx && apt-get clean && rm -rf /var/lib/apt/lists/*
9
9
10
10
# 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
12
12
13
13
# Configure Supervisor
14
14
cat > /etc/supervisor/conf.d/cosmian_kms.conf << EOF
You can’t perform that action at this time.
0 commit comments