1 # SPDX-License-Identifier: LGPL-2.1-or-later
3 Description=Check if any service failed and then shutdown the machine
4 After=multi-user.target network-online.target
5 Requires=multi-user.target
6 Wants=systemd-resolved.service systemd-networkd.service network-online.target
9 # On success, exit with 123 so that we can check that we receive the actual exit code from the script on the
11 SuccessActionExitStatus=123
15 ExecStart=/usr/lib/systemd/mkosi-check-and-shutdown.sh