Closed pklausner closed 2 years ago
I tried to understand this s6 business. It doesn't play with the --reload mechanism. This command made the collecting demon reload without dropping data:
s6-svc -h /var/run/s6/services/smokeping/
The web ui process smokeping_cgi gets started from apache, but
s6-svc -h /var/run/s6/services/apache/
seems to take no effect. Instead I see httpd (pid 283) already running
repeated endlessly. A direct kill -SIGHUP
of the process makes the UI reload as expected.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
You can do kill -1 pid
on the smokeping process, that will reload the config
Expected Behavior
In the docs it claims a change to the config file on the host will be detected and automatically applied. I assume it is supposed to poll for changes then run smokeping --reload within the container.
Current Behavior
Everything works fine, except changes get never detected; I have to manually restart the container - which creates a gap in the data.
Steps to Reproduce
Environment
OS: Ubuntu 18.04 server CPU architecture: x86_64 How docker service was installed: standard docker.io 19.03.6-0ubuntu1~18.04.3
Command used to create docker container (run/create/compose/screenshot)
docker-compose up -d
Docker logs
no messages related to loading/reading the changed config