About a year ago, @tobiaseigen asked how to properly shut down Discourse:
The conclusion was that a
./launcher stop app should now suffice. This is great, but it still is a separate step. It won’t help you if another sysadmin shuts down your system, or if
unattended-upgrades decides that a reboot is due now.
Is there a way (on Ubuntu) to ensure that Discourse always shuts down properly if the system is rebooted?