c59b2cca0a
Collectd-ceilometer-plugin is essential for further more detailed metrics collection, smarter scheduling and service assurance. Change-Id: I3a926d9bee592a9bff31a90fa1ffeb0a58f5025a Partially-Implements: blueprint collectd-ceilometer-plugin
6 lines
191 B
Bash
6 lines
191 B
Bash
#!/bin/bash
|
|
|
|
# Only update permissions if permissions need to be updated
|
|
if [[ $(stat -c %U:%G /var/lib/collectd) != "collectd:collectd" ]]; then
|
|
sudo chown collectd: /var/lib/collectd
|
|
fi |