Re: [systemd-devel] emergency shutdown, don't wait for timeouts

2020-12-27 Thread Dan Egli
The solution may be a dual prong approach. You have one forced poweroff that will execute after a certain delay, while the other works now. Something like this: sleep 45 && systemctl --force poweroff & shutdown -h now That way the normal shutdown begins, but if it's not completed in 45 second

Re: [systemd-devel] emergency shutdown, don't wait for timeouts

2020-12-27 Thread Andrei Borzenkov
27.12.2020 17:00, Reindl Harald пишет: > > > Am 27.12.20 um 14:43 schrieb Andrei Borzenkov: >> 27.12.2020 16:26, Germano Massullo пишет: >>> Good day, I recently joined apcupsd (APC UPS Power Control Daemon) >>> package maintainers on Fedora/CentOS/RHEL. >>> After a power failure, apcupsd shuts d

Re: [systemd-devel] emergency shutdown, don't wait for timeouts

2020-12-27 Thread Andrei Borzenkov
27.12.2020 16:26, Germano Massullo пишет: > Good day, I recently joined apcupsd (APC UPS Power Control Daemon) > package maintainers on Fedora/CentOS/RHEL. > After a power failure, apcupsd shuts down the system with a command > almost identical to > shutdown -h -H now > Usually when you normally sh

[systemd-devel] emergency shutdown, don't wait for timeouts

2020-12-27 Thread Germano Massullo
Good day, I recently joined apcupsd (APC UPS Power Control Daemon) package maintainers on Fedora/CentOS/RHEL. After a power failure, apcupsd shuts down the system with a command almost identical to shutdown -h -H now Usually when you normally shutdown your system, you may notice certain services ta