[Unit] Description=It supervises that the UPS has not given the shutdown signal before the boot was completed DefaultDependencies=no Before=sysinit.target [Service] Type=simple ExecStart=/usr/local/bin/rpishutdown-boot-watchdog.sh [Install] WantedBy=sysinit.target