Skip to content

Commit

Permalink
Seventh
Browse files Browse the repository at this point in the history
  • Loading branch information
namnx228 committed Mar 25, 2021
1 parent 0b148a6 commit dc4f627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/runmariadb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fi
ln -sf /proc/self/fd/1 /var/log/mariadb/mariadb.log

# Restart mysqld when the certificate is updated
if [ "$IRONIC_TLS_SETUP" == "true" ]; then
if [ -f "$MARIADB_CERT_FILE" ]; then
inotifywait -m -e delete_self "${MARIADB_CERT_FILE}" | while read file event; do
kill $(pgrep mysqld)
done &
Expand Down

0 comments on commit dc4f627

Please sign in to comment.