kostya / eye

Process monitoring tool. Inspired from Bluepill and God.
MIT License
1.19k stars 86 forks source link

Signal to eye to tell it to load? #184

Closed grimm26 closed 7 years ago

grimm26 commented 7 years ago

I tried sending eye a HUP but that just causes it to shut down.

kostya commented 7 years ago

why do you mean? eye to reload all configs? there is no such function. you should just call eye load config to reload/update it.

kostya commented 7 years ago

if you have many configs, you can put symlinks of it in one dir, /etc/eye/, and reload all of them together. eye load /etc/eye/

grimm26 commented 7 years ago

I would like to be able to send it a signal as part of a systemd service config to reload the config.

kostya commented 7 years ago

this is not possible right now, because eye not storing file paths, but i think should not be hard to implement

grimm26 commented 7 years ago

I found that I can use an ExecReload setting in a systemd unit file, too, instead of just sending a signal. I should be fine for now, then.