Update README.md and usage()

This commit is contained in:
Arnaud ANDRE 2016-01-18 16:03:02 +01:00
parent 2887d74a01
commit 1ec5039edb
2 changed files with 12 additions and 2 deletions

View file

@ -79,6 +79,16 @@ Optional arguments:
* `SIGHUP` : force uvrrpd to switch to init state
* `SIGUSR1`|`SIGUSR2` : dump VRRP instance informations
### Control fifo
User can send command through a control FIFO, by default in /var/run/uvrrpd_ctrl.${vrid}
Commands available:
* reload (force init state)
* stop (exit)
* state || status (dump vrrp status)
* prio X (change priority while running, and switch to init state)
### Log
LOG_DAEMON facility

View file

@ -60,9 +60,9 @@ static void vrrp_usage(void)
" -a, --auth pass Simple text password (only in VRRPv2)\n"
" -f, --foreground Execute uvrrpd in foreground\n"
" -s, --script Path of hook script (default "stringify(PATH)"/vrrp-switch.sh)\n"
" -F --pidfile name Change pid file 'name'\n"
" -F --pidfile name Use alternate pid file 'name'\n"
" Default "stringify(PATHRUN)"/uvrrp_${vrid}.pid\n"
" -C --control name Change control file 'name'\n"
" -C --control name Use alternate control file 'name'\n"
" Default "stringify(PATHRUN)"/uvrrpd_ctrl.${vrid}\n"
" -d, --debug\n" " -h, --help\n");
}