In case of unexpected failures of the services - such as an OOM - it shouldn't be necessary for an administrator to restart the service by hand (which is usually sufficient). Instead, this should happen automatically. Also, I decided to increase the interval between restart attempts from 100ms[1] to 10s for a small grace period as suggested by several online resources[2][3]. [1] See `systemd.service(5)` [2] https://it.megocollector.com/linux/create-systemd-services-for-atlassian-apps/ [3] https://anteru.net/blog/2017/jira-confluence-with-systemd-on-centos/
*** NixOS *** NixOS is a Linux distribution based on the purely functional package management system Nix. More information can be found at https://nixos.org/nixos and in the manual in doc/manual.