165ed10dc1
This change just fixes the restart condition for the radosgw file used when the certificate is renewed. Change-Id: Id3f76cd03c993d013090c7c764d6963a64a1c74f
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
|