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/
2 years ago
Linus Heckemann
51f78ade78
nixos/jira: set home for jira user
...
Some plugins rely on being able to write to the user's home directory.
2 years ago
Naïm Favier
2ddc335e6f
nixos/doc: clean up defaults and examples
3 years ago
volth
35d68ef143
treewide: remove redundant quotes
5 years ago
Aaron Andersen
114bd801f4
nixos/jira: replace deprecated usage of PermissionsStartOnly
...
see https://github.com/NixOS/nixpkgs/issues/53852
5 years ago
Francesco Zanini
ab912cf744
atlassian services: allow overriding package ( #55685 )
5 years ago
Franz Pletz
b60f8fc6e2
atlassian modules: don't chown home recursively
...
This can take a long time and should not be necassary anyway.
5 years ago
Florian Klink
fff5923686
nixos/modules: users.(extraUsers|extraGroup->users|group)
6 years ago
Jean-Baptiste Giraudeau
15e44477b3
Add bash to jira PATH: required by health checks.
6 years ago
Jean-Baptiste Giraudeau
5027f3f9f9
Add bash to jira PATH: required by health checks.
7 years ago
aszlig
0e790b9f66
nixos/atlassian: Fix eval error in jrePackage
...
The error got introduced by 4f3d971ef5
,
which removed the *Text attributes from the option.
This in turn leads to an evaluation error while building the
manual/manpage, because oraclejre8 is marked unfree.
Signed-off-by: aszlig <aszlig@nix.build>
Cc: @jbgi , @orivej , @globin
7 years ago
Jean-Baptiste Giraudeau
4f3d971ef5
Atlassian apps: remove misleading JRE switch logic
...
Only the Oracle JRE is supported by Atlassian appsAtlassian apps
(see https://jira.atlassian.com/browse/JRASERVER-46152 )
Plus Atlassian apps are non free so the switch logic always chose
Oracle JRE anyway.
Option is kept in case someone want to patch apps to support openjdk.
7 years ago
Jean-Baptiste Giraudeau
3c06d9f0b0
Fix atlassian services (optional attr. and systemd)
...
- Properly handle optional configuration.
- Use ExecStart/ExecStop instead of script/stopScript.
7 years ago
Franz Pletz
02791ced34
atlassian-{jira,confluence}: add crowd sso support
7 years ago
Franz Pletz
9536169074
nixos/treewide: remove boolean examples for options
...
They contain no useful information and increase the length of the
autogenerated options documentation.
See discussion in #18816 .
7 years ago
Franz Pletz
96d0950ce3
jira module: init
8 years ago
Franz Pletz
cc89d6c8e9
confluence module: init
8 years ago