From efe6e7d33a9feb0b647c77862016284457895fa6 Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Tue, 25 Mar 2014 14:15:45 +0100 Subject: service: add support for reboot argument when triggered by StartLimitAction= When rebooting with systemctl, an optional argument can be passed to the reboot system call. This makes it possible the specify the argument in a service file and use it when the service triggers a restart. This is useful to distinguish between manual reboots and reboots caused by failing services. --- man/systemd.service.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'man/systemd.service.xml') diff --git a/man/systemd.service.xml b/man/systemd.service.xml index 5b3afb86d2..a2a1b6b508 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@ -1017,6 +1017,19 @@ ExecStart=/bin/echo $ONE $TWO ${TWO} . + + RebootArgument= + Configure the optional + argument for the + reboot2 + system call if + StartLimitAction= + is a reboot action. This works just + like the optional argument to + systemctl reboot + command. + + Check -- cgit v1.2.3-54-g00ecf