74dcdac619
This patch adds the ceph_rgw class required by certmonger to create the cert/key. This patch also creates the service_pem file since the rgw container private key, public certificate and any other CA or intermediate certificates should be in one file, in PEM format. Change-Id: I960f7c48866ef11e58e63d80217f7df660455fe1 (cherry picked from commit 7013cd94ee1c1f373814e8a77885a23c6845e86d)
10 lines
205 B
Bash
10 lines
205 B
Bash
#!/bin/bash
|
|
|
|
# Get ceph rgw systemd unit
|
|
rgw_unit=$(systemctl list-unit-files | awk '/radosgw/ {print $1}')
|
|
|
|
# Restart the rgw systemd unit
|
|
if [ -n "$rgw_unit" ]; then
|
|
systemctl restart "$rgw_unit"
|
|
fi
|