Update README.md and usage()
This commit is contained in:
parent
2887d74a01
commit
1ec5039edb
10
README.md
10
README.md
|
@ -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
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue