ipwatch
is a tool for monitoring a netlink
socket for changes in IP address which in turn restarts services that would otherwise fail to recognize the change.
``` ipwatch
USAGE:
ipwatch [OPTIONS]
FLAGS: -h, --help Prints help information -V, --version Prints version information
OPTIONS:
-i, --interface
ARGS:
To start openpyn so that change on wlan0
will cause it to restart, you may run:
ipwatch -i wlan0 openpyn us
.
Using cargo, the installation is as simple as:
cargo install ipwatch