From 6f28c033ec506847b3bfa4efaf52478120c36946 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 13 Jul 2010 20:20:36 +0200 Subject: systemctl: introduce try-restart and reload-or-restart commands --- man/systemctl.xml | 34 +++++++++++++++++++++++++++------- 1 file changed, 27 insertions(+), 7 deletions(-) (limited to 'man/systemctl.xml') diff --git a/man/systemctl.xml b/man/systemctl.xml index 22d3f6ee5e..d73e974e3e 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -193,13 +193,6 @@ specified on the command line. - - restart [NAME...] - - Restart one or more - units specified on the command - line. - reload [NAME...] @@ -226,6 +219,33 @@ commands. + + restart [NAME...] + + Restart one or more + units specified on the command + line. If the units are not running yet + they will be + started. + + + try-restart [NAME...] + + Restart one or more + units specified on the command + line. If the units are not running yet + the operation will + fail. + + + reload-or-restart [NAME...] + reload-or-try-restart [NAME...] + + Reload one or more + units if they support it. If not + restart them + instead. + isolate [NAME] -- cgit v1.2.3-54-g00ecf