config/sysinv/sysinv-fpga-agent
Chris Friesen 24273472e6 restart sysinv-fpga-agent when sysinv.conf changes
There's a problem on initial startup where sysinv-fpga-agent starts
up before sysinv.conf has the correct puppet server address, and
then doesn't get restarted once sysinv.conf is updated.

This creates a systemd entity that watches the sysinv.conf file
and any time the file is modified it triggers a restart of
sysinv-fpga-agent.

There may be a cleaner way to do this, but I was unable to find one.
Subscribing to the file in puppet didn't seem to work in my testing.

Change-Id: I367eeaad5ee8cfeb3536281d78f44cea284f3de6
Story: 2006740
Task:  39927
2020-06-09 10:51:03 -06:00
..
centos restart sysinv-fpga-agent when sysinv.conf changes 2020-06-09 10:51:03 -06:00
opensuse sysinv FPGA agent initial commit 2020-06-07 23:54:01 -06:00
.gitignore sysinv FPGA agent initial commit 2020-06-07 23:54:01 -06:00
LICENSE sysinv FPGA agent initial commit 2020-06-07 23:54:01 -06:00
PKG-INFO sysinv FPGA agent initial commit 2020-06-07 23:54:01 -06:00
run_docker_login add workaround for N3000 reset behaviour 2020-06-08 16:13:32 -06:00
sysinv-conf-watcher.path restart sysinv-fpga-agent when sysinv.conf changes 2020-06-09 10:51:03 -06:00
sysinv-conf-watcher.service restart sysinv-fpga-agent when sysinv.conf changes 2020-06-09 10:51:03 -06:00
sysinv-fpga-agent sysinv FPGA agent initial commit 2020-06-07 23:54:01 -06:00
sysinv-fpga-agent.conf sysinv FPGA agent initial commit 2020-06-07 23:54:01 -06:00
sysinv-fpga-agent.service sysinv FPGA agent initial commit 2020-06-07 23:54:01 -06:00