From c5c6366a84c5d8753f9f2c40dd0bae3af2e4bfe4 Mon Sep 17 00:00:00 2001 From: Eric Callahan Date: Wed, 8 Feb 2023 06:25:18 -0500 Subject: [PATCH] docs: document shutdown_action option Signed-off-by: Eric Callahan --- docs/configuration.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/configuration.md b/docs/configuration.md index 87e6f4d..088d5ef 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -126,6 +126,11 @@ provider: systemd_dbus # "supervisord_cli", "systemd_dbus", or "systemd_cli". If the provider is # set to "none" service action APIs will be disabled. # The default is systemd_dbus. +shutdown_action: poweroff +# Determines the action Moonraker will take when a shutdown is requested. +# This option may be set to "halt" or "poweroff. Not all linux distributions +# support poweroff, in such scenarios it is necessary to specify 'halt'. +# The default is "poweroff". sudo_password: # The password for the linux user. When set Moonraker can run linux commands # that require elevated permissions. This option accepts Jinja2 Templates,