From 96e4d0960c2b1bb01dc90ebfe341af8e4284090a Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Wed, 31 Jul 2019 19:45:29 +0200 Subject: Change 'graceful down' command to 'graceful restart' and update docs The command initiating planned graceful restart including bird shutdown should be called 'graceful restart' instead of 'graceful down', as the later should be reserved for graceful shutdown in style of RFC 8326. --- sysdep/unix/config.Y | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sysdep') diff --git a/sysdep/unix/config.Y b/sysdep/unix/config.Y index b78e0e6c..c76eb73b 100644 --- a/sysdep/unix/config.Y +++ b/sysdep/unix/config.Y @@ -19,6 +19,7 @@ CF_DECLS CF_KEYWORDS(LOG, SYSLOG, ALL, DEBUG, TRACE, INFO, REMOTE, WARNING, ERROR, AUTH, FATAL, BUG, STDERR, SOFT) CF_KEYWORDS(NAME, CONFIRM, UNDO, CHECK, TIMEOUT, DEBUG, LATENCY, LIMIT, WATCHDOG, WARNING, STATUS) +CF_KEYWORDS(GRACEFUL, RESTART) %type log_mask log_mask_list log_cat cfg_timeout %type cfg_name @@ -133,7 +134,7 @@ CF_CLI(CONFIGURE CHECK, cfg_name, [\"\"], [[Parse configuration and check CF_CLI(DOWN,,, [[Shut the daemon down]]) { cmd_shutdown(); } ; -CF_CLI(GRACEFUL DOWN,,, [[Shut the daemon down for graceful restart]]) +CF_CLI(GRACEFUL RESTART,,, [[Shut the daemon down for graceful restart]]) { cmd_graceful_restart(); } ; -- cgit v1.2.3