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:
parent
5d082a9178
commit
0e59d8b1ce
@ -1,5 +1,5 @@
|
|||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
output_file = etc/monasca/persister.conf.sample
|
output_file = etc/monasca/monasca-persister.conf.sample
|
||||||
wrap_width = 90
|
wrap_width = 90
|
||||||
format = ini
|
format = ini
|
||||||
namespace = monasca_persister
|
namespace = monasca_persister
|
||||||
|
@ -91,15 +91,15 @@ write access to the log directory.
|
|||||||
|
|
||||||
There is minimum amount of configuration which must be performed before
|
There is minimum amount of configuration which must be performed before
|
||||||
running the persister. A template configuration file is installed in the
|
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
|
Note that the configuration will contain authentication information for
|
||||||
the database being used, so depending on your environment it may be
|
the database being used, so depending on your environment it may be
|
||||||
desirable to inhibit read access except for the monasca-persister group.
|
desirable to inhibit read access except for the monasca-persister group.
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo chown root:monasca /etc/monasca/persister.conf
|
sudo chown root:monasca /etc/monasca/monasca-persister.conf
|
||||||
sudo chmod 640 /etc/monasca/persister.conf
|
sudo chmod 640 /etc/monasca/monasca-persister.conf
|
||||||
```
|
```
|
||||||
|
|
||||||
Most of the configuration options should be left at default, but at a
|
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 \
|
sudo -u mon-persister \
|
||||||
monasca-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
|
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
|
Documentation=https://github.com/openstack/monasca-persister/monasca-persister/README.md
|
||||||
Requires=network.target remote-fs.target
|
Requires=network.target remote-fs.target
|
||||||
After=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/lib/monasca-persister
|
||||||
ConditionPathExists=/var/log/monasca/persister
|
ConditionPathExists=/var/log/monasca/persister
|
||||||
|
|
||||||
@ -161,7 +161,7 @@ PIDFile=/var/run/monasca-persister.pid
|
|||||||
User=mon-persister
|
User=mon-persister
|
||||||
Group=monasca
|
Group=monasca
|
||||||
WorkingDirectory=/var/lib/monasca-persister
|
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
|
Restart=on-failure
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
SyslogIdentifier=monasca-persister
|
SyslogIdentifier=monasca-persister
|
||||||
|
Loading…
Reference in New Issue
Block a user