Update documentation to use new default config

The new default configuration file name has changed to
monasca-persister.conf. This change updates documentation to use the new
default.

Change-Id: Ic271221f19cdc86e8297ed88cdcf4a86df4374b8
Story: 2004867
Task: 29534
This commit is contained in:
Witek Bedyk 2019-02-18 18:21:25 +01:00
parent 5d082a9178
commit 0e59d8b1ce
2 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
[DEFAULT]
output_file = etc/monasca/persister.conf.sample
output_file = etc/monasca/monasca-persister.conf.sample
wrap_width = 90
format = ini
namespace = monasca_persister

View File

@ -91,15 +91,15 @@ write access to the log directory.
There is minimum amount of configuration which must be performed before
running the persister. A template configuration file is installed in the
default location of /etc/monasca/persister.conf.
default location of /etc/monasca/monasca-persister.conf.
Note that the configuration will contain authentication information for
the database being used, so depending on your environment it may be
desirable to inhibit read access except for the monasca-persister group.
```
sudo chown root:monasca /etc/monasca/persister.conf
sudo chmod 640 /etc/monasca/persister.conf
sudo chown root:monasca /etc/monasca/monasca-persister.conf
sudo chmod 640 /etc/monasca/monasca-persister.conf
```
Most of the configuration options should be left at default, but at a
@ -132,7 +132,7 @@ which may be useful for troubleshooting:
```
sudo -u mon-persister \
monasca-persister \
--config-file /etc/monasca/persister.conf
--config-file /etc/monasca/monasca-persister.conf
```
Note that it is important to deploy the daemon in a manner such that the daemon
@ -151,7 +151,7 @@ Description=OpenStack Monasca Persister
Documentation=https://github.com/openstack/monasca-persister/monasca-persister/README.md
Requires=network.target remote-fs.target
After=network.target remote-fs.target
ConditionPathExists=/etc/monasca/persister.conf
ConditionPathExists=/etc/monasca/monasca-persister.conf
ConditionPathExists=/var/lib/monasca-persister
ConditionPathExists=/var/log/monasca/persister
@ -161,7 +161,7 @@ PIDFile=/var/run/monasca-persister.pid
User=mon-persister
Group=monasca
WorkingDirectory=/var/lib/monasca-persister
ExecStart=/usr/local/bin/monasca-persister --config-file /etc/monasca/persister.conf
ExecStart=/usr/local/bin/monasca-persister --config-file /etc/monasca/monasca-persister.conf
Restart=on-failure
RestartSec=5
SyslogIdentifier=monasca-persister