Actually there may be an even better solution: Before=shutdown.target
which lintian has been nagging us about: https://lintian.debian.org/tags/systemd-service-file-shutdown-problems "There is race condition between stopping units and systemd getting a request to exit the main loop, so it may proceed with shutdown before all pending stop jobs have been processed." -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1840122 Title: System fails to reboot from live session or ubiquity-dm - squashfs_read_data failed to read block To manage notifications about this bug go to: https://bugs.launchpad.net/subiquity/+bug/1840122/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
