nixpkgs/nixos/modules
Maximilian Bosch 6f9099fa62
nixos/{jira,crowd,confluence}: restart service on failure
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/
2022-05-10 22:31:22 +02:00
..
config nixos/console: inird -> initrd 2022-04-30 14:43:09 -07:00
hardware UHK-agent: Support for Ultimate Hacking Keyboard udev-rules and configuration application (#132420) 2022-05-08 22:40:52 +02:00
i18n/input-method nixos/fcitx5: add the setting of RIME_DATA_DIR and options for rime-data 2022-04-25 13:39:19 +08:00
installer Merge pull request #171650 from helsinki-systems/feat/config-systemd-package 2022-05-09 10:23:04 +02:00
misc nixos/mandoc: Leave shell argument quoting to nix 2022-05-09 10:48:54 +02:00
profiles Merge pull request #169113 from ElvishJerricco/systemd-stage-1-installer-tests 2022-04-30 13:18:57 -07:00
programs programs/phosh: merge into services/x11/desktop-managers/phosh 2022-05-06 00:04:48 +10:00
security Merge pull request #171650 from helsinki-systems/feat/config-systemd-package 2022-05-09 10:23:04 +02:00
services nixos/{jira,crowd,confluence}: restart service on failure 2022-05-10 22:31:22 +02:00
system Merge pull request #171650 from helsinki-systems/feat/config-systemd-package 2022-05-09 10:23:04 +02:00
tasks Merge pull request #171650 from helsinki-systems/feat/config-systemd-package 2022-05-09 10:23:04 +02:00
testing nixos/version: Warn about using the default of system.stateVersion 2022-05-05 12:22:31 +02:00
virtualisation Merge pull request #171650 from helsinki-systems/feat/config-systemd-package 2022-05-09 10:23:04 +02:00
module-list.nix nixos/snipe-it: init 2022-05-10 16:57:21 +02:00
rename.nix nixos/ssmtp: drop module 2022-04-17 00:44:50 +02:00