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
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
204be04531
nixos/crowd: 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
Robin Gloster
89d24aca93
atlassian-crowd: 3.2.5 -> 3.3.3
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
Simon Lackerbauer
120e93928f
crowd: 3.0.1 -> 3.1.2
6 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
de917326a9
atlassian-crowd service: run crowd in foreground
7 years ago
Franz Pletz
3ab45f4b36
treewide: use boolToString function
7 years ago
Franz Pletz
f1f9020224
crowd service: fix secure sso cookies
...
Crowd didn't detect a secure connection before.
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
Robin Gloster
d8ef63fc73
crowd module: fix OpenID server
7 years ago
Franz Pletz
1749e86577
crowd module: init
8 years ago
Franz Pletz
96d0950ce3
jira module: init
8 years ago
Franz Pletz
cc89d6c8e9
confluence module: init
8 years ago