From 60cc44d160af02c49614653c97bfa3e4e5c9601d Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Mon, 15 Apr 2019 11:32:50 +0200 Subject: Prevent shutdown while running dpkg As long as we are running dpkg, keep an inhibitor that blocks us from shutting down. LP: #1820886 --- doc/examples/configure-index | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc') diff --git a/doc/examples/configure-index b/doc/examples/configure-index index 743e676de..5e317d7e0 100644 --- a/doc/examples/configure-index +++ b/doc/examples/configure-index @@ -503,6 +503,9 @@ DPkg progress-bg ""; progress-bar ""; }; + + // Set a shutdown block inhibitor on systemd systems while running dpkg + Inhibit-Shutdown ""; } /* Options you can set to see some debugging text They correspond to names -- cgit v1.2.3-70-g09d2