chiark / gitweb /
units: define appropriate job timeout actions when boot or shutdown timeouts are hit
authorLennart Poettering <lennart@poettering.net>
Tue, 28 Oct 2014 00:49:39 +0000 (01:49 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 28 Oct 2014 01:19:55 +0000 (02:19 +0100)
commit3898b80d409ae16b049d46f883bf763417bb4c8a
treed4b5f7aa2c7aeed720aebd5fa094c86622079e4d
parentf189ab18de69d3dee81117d7925fb370cd038f0f
units: define appropriate job timeout actions when boot or shutdown timeouts are hit

Using the new JobTimeoutAction= setting make sure we power off the
machine after basic.target is queued for longer than 15min but not
executed. Similar, if poweroff.target is queued for longer than 30min
but does not complete, forcibly turn off the system. Similar, if
reboot.target is queued for longer than 30min but does not complete,
forcibly reboot the system.
units/basic.target
units/poweroff.target
units/reboot.target