Open cbaakman opened 7 years ago
Whenever A databank is updated outide MRS (like in cron), the deamon needs to get a sighup to make it reload the databanks. The problem is that the deamon now runs in a docker container, so that it's pid file is inaccessible for cron.
What might work is something like:
/usr/bin/docker restart `/usr/bin/docker ps | grep 'mrs server start' | /usr/bin/cut -d" " -f1`
Whenever A databank is updated outide MRS (like in cron), the deamon needs to get a sighup to make it reload the databanks. The problem is that the deamon now runs in a docker container, so that it's pid file is inaccessible for cron.
What might work is something like: