tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
nixos/logstash: Don't set unnecessary JAVA_HOME
Robert Hensing
5 years ago
e7e6e8d5
4787a38c
+1
-2
1 changed file
expand all
collapse all
unified
split
nixos
modules
services
logging
logstash.nix
+1
-2
nixos/modules/services/logging/logstash.nix
···
159
159
###### implementation
160
160
161
161
config = mkIf cfg.enable {
162
162
-
systemd.services.logstash = with pkgs; {
162
162
+
systemd.services.logstash = {
163
163
description = "Logstash Daemon";
164
164
wantedBy = [ "multi-user.target" ];
165
165
-
environment = { JAVA_HOME = jre; };
166
165
path = [ pkgs.bash ];
167
166
serviceConfig = {
168
167
ExecStartPre = ''${pkgs.coreutils}/bin/mkdir -p "${cfg.dataDir}" ; ${pkgs.coreutils}/bin/chmod 700 "${cfg.dataDir}"'';