diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2019-04-15 11:32:50 +0200 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2019-05-03 16:48:56 +0200 |
commit | 96aef11a5cf400377a52f7e93e70944b17e249d1 (patch) | |
tree | 6ba3f312a3c3bec2a527f804f3dd28e29dbae758 /doc/examples/configure-index | |
parent | 61159a9be93f930066ad39e4f8eb658e18853b8e (diff) |
Prevent shutdown while running dpkg
As long as we are running dpkg, keep an inhibitor that
blocks us from shutting down.
LP: #1820886
Diffstat (limited to 'doc/examples/configure-index')
-rw-r--r-- | doc/examples/configure-index | 3 |
1 files changed, 3 insertions, 0 deletions
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 "<STRING>"; progress-bar "<BOOL>"; }; + + // Set a shutdown block inhibitor on systemd systems while running dpkg + Inhibit-Shutdown "<BOOL>"; } /* Options you can set to see some debugging text They correspond to names |