86a5c8cb79
Partially-implements: blueprint add-chrony-service Change-Id: If8045c62656ffc0090d0c02ca0fbe58ab8c5f29f
11 lines
222 B
Bash
11 lines
222 B
Bash
#!/bin/bash
|
|
|
|
rm -f /var/run/chronyd.pid
|
|
|
|
if [[ ! -d "/var/log/kolla/chrony" ]]; then
|
|
mkdir -p /var/log/kolla/chrony
|
|
fi
|
|
if [[ $(stat -c %a /var/log/kolla/chrony) != "755" ]]; then
|
|
chmod 755 /var/log/kolla/chrony
|
|
fi
|