Closed arbulu89 closed 3 years ago
Use systemd notify option to state that the daemon started properly.
As the exporter has an initial timeout to connect to the database, now the daemon will be put as correctly started after this initial loop.
If the exporter is started without being a daemon the functionality is untouched.
This helps the Pacemaker cluster to correctly monitor the start of the resource.
https://www.freedesktop.org/software/systemd/man/systemd.service.html#Type=
Besides this, I have reduced the timeout value from 600 to 30, to have a more reasonable value (I will do the same in the sapahanbootstrap-formula)
sapahanbootstrap-formula
Use systemd notify option to state that the daemon started properly.
As the exporter has an initial timeout to connect to the database, now the daemon will be put as correctly started after this initial loop.
If the exporter is started without being a daemon the functionality is untouched.
This helps the Pacemaker cluster to correctly monitor the start of the resource.
https://www.freedesktop.org/software/systemd/man/systemd.service.html#Type=
Besides this, I have reduced the timeout value from 600 to 30, to have a more reasonable value (I will do the same in the
sapahanbootstrap-formula
)